Date: 30 Jun 2003 16:36:42 -0400 From: Jason Stewart <jstewart@rtl.org> To: freebsd-questions@freebsd.org Subject: Re: Seperate fields in File Message-ID: <1057005399.1030.44.camel@mis3c.rtl.lan> In-Reply-To: <3F0092E5.13879.51ADA4E@localhost> References: <3F0092E5.13879.51ADA4E@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1057005399.1030.44.camel>