Date: Mon, 30 Jun 2003 19:43:33 +0200 From: "Moritz Fromwald" <mfromwald@gmx.at> To: freebsd-questions@freebsd.org Subject: Seperate fields in File Message-ID: <3F0092E5.13879.51ADA4E@localhost>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0092E5.13879.51ADA4E>