in reply to Printing columns to a single file
I need 21 and 4 column of every file ... print $F[0], $F[4]
Which is it: 21st and 4th columns, or first and fifth columns?
I have many files ...I used this command but its printing in single files...
The command you show processes a single input file and produces a single output file. Do you know about wild cards?
my out put should have all the columns printed with headers of files name..
What bit of the command you've shown do you expect to produce "headers of files name."?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing columns to a single file
by Anonymous Monk on Mar 05, 2014 at 15:55 UTC | |
by BrowserUk (Patriarch) on Mar 05, 2014 at 16:05 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |