Does awkmonks.com redirect to perlmonks? =) To answer your question you can rewrite in perl to do that very easily, or you can escape the awk vars and put the command in a shell script using non escaped $1 and $2 for the two input filesnames. and run like script_name file1 file2