We can use bash variable with awk script/command.
First define required variables:
My input file names.txt with following content:
obama… 82 more words
Have you ever had the problem where you double click on a script file and it opens in the editor rather than executing? One problem might be that the execute bit on the file (Properties – Permissions – Allow executing file as a program) isn’t set. 157 more words