![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tell me whats wrong with this | nadman123 | Shell Programming and Scripting | 1 | 04-15-2008 12:58 AM |
| tell me whats wrong in this? | nadman123 | Shell Programming and Scripting | 1 | 04-10-2008 02:11 AM |
| Whats wrong with the syntax | dsravan | Shell Programming and Scripting | 4 | 08-10-2006 06:41 PM |
| Whats wrong with this 5 line script! | c19h28O2 | Shell Programming and Scripting | 9 | 05-11-2006 02:04 AM |
| whats wrong with this awk??? | george_ | Shell Programming and Scripting | 5 | 04-04-2006 05:58 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|