Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fejjalh

    including a variable inside awk script

    In fact, I want to print the second column of different files where the first column contains the name of these files. The command is awk '$1==file1' {print $2++} file1 Well Iwant to do this for many files by replacing file1 with a variable item $filename. Thank you.

Part and Inventory Search

Back
Top