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.
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.