Seperate fields in File

Jason Stewart jstewart at rtl.org
Mon Jun 30 13:37:56 PDT 2003


If you know how to write the script, then you would also know how to put
it in a file too... 

Smells like a homework assignment to me.

A google search turned up this:
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=468





On Mon, 2003-06-30 at 13:43, Moritz Fromwald wrote:
> 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
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list