On Thursday 26 April 2007 08:51, Zhang Weiwu wrote:
> On Thu, 2007-04-26 at 11:18 +0800, Zhang Weiwu wrote:
[snip]
> > I have a data file formatted like this each block of data consist of
> > several lines; blocks are separated by empty lines like this
> >
> > This is a
> > block
>
An example that is probably not simple enough:
awk 'BEGIN { FS="\n"; RS="\n\n";} { print ""; print $NF; for (i=1; i I know this is OT but we got so many sysops here and this might be
> something very easy for them to drop me a quick answer?
>
> I have a data file formatted like this each block of
I know this is OT but we got so many sysops here and this might be
something very easy for them to drop me a quick answer?
I have a data file formatted like this each block of data consist of
several lines; blocks are separated by empty lines like this
This is a
block
of