Awk
Jump to navigation
Jump to search
References
Tips
- Defining environment variable - Using an Awk script and Bash builtin eval
eval $(awk 'BEGIN{printf "MY_VAR=value";}')
echo $MY_VAR
eval $(awk 'BEGIN{printf "MY_VAR=value";}')
echo $MY_VAR