Sunday, March 9, 2008

Passing Bash variable in Awk


ext=".jpg" ; awk -v ext=$ext '{print $filename,ext}'