From: joe_fletcher@btconnect.com
Date: Thu Nov 27 2003 - 10:54:51 EST
Hi All,
I actually sent in a summary on this about 2 mins after the orginal post.
Not su
re what's happened to it. To save people some typing the solution was:
egrep '(UNB\+UNOA|RFF\+AAK)' rawdata
and variations thereon.
Thanks to Casper for being fastest off the mark and to everyone who has
responde
d. Answers include some quite useful looking perl constructs.
Cheers
Joe
Original method was:
for LINE in `cat rawdata`
do
if [ "`echo $LINE | grep "UNB+UNOA" `" != "" -o "`echo $LINE |
grep "RFF+AAK"
`" != "" ]
then echo $LINE
fi
done
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:34 EDT