Seperate fields in File

Moritz Fromwald mfromwald at gmx.at
Mon Jun 30 10:43:18 PDT 2003


Hello all,
I have a text file, which contains several data sets, separated 
by a particular string ("-------.*=.*--")
I need to write a script, which processes each of these data sets
Can anyone push me in the right direction?

Is it possible to simplify the following command in several lines
run=`cat HI*.PM | grep -e '0,0' | grep 'Massenmails' | awk -F ',' 
{'print $3'} | awk -F ':' {'print $3'} | awk -F '\"' {'print 
$1'}`

TIA & greez 

moritz fromwald



More information about the freebsd-questions mailing list