I have a file $I_FILE that I need to filter and store the 1st and the 9th columns in another file $O_FILE.
With this in Perl,
system ("awk -F, '{print \$1, \$9}' \$I_FILE | sed '\/^\$\/d' > O_FILE");
I get:
4096045055
The first line in I_FILE is:
4294967295,0,3,2103159,54668771,54668771,0,3233,566547,28,18,12
so it should print:
4294967295 566547
in o_file.
Thanks!