View Single Post
Old December 3rd, 2008, 06:25 PM     #7 (permalink)
Epidemic
MR Meek and Mild
 
Epidemic's Avatar
 
Join Date: Mar 2002
Location: almost Virginia
Posts: 5,115
Blog Entries: 2
gunzip -c /data/prospect/sent/081128??.DATA.gz|nawk -F";" '{if ($39 == 5) print $3,$4,$6,$7,$10,$11,$14,$15,$22,$25,$26,$27,$31,$3 8,$39,$41,$70}'

The above command looks at file 081128??.DATA.gz in field 39 for a value of 5 and then prints select fields between 3 and 70
Epidemic is offline   Reply With Quote