Awk

From miki
Revision as of 09:44, 25 August 2009 by Mip (talk | contribs) (→‎Tips)
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