An example that is probably not simple enough:
awk 'BEGIN { FS=\n; RS=\n\n;} { print ; print $NF; for (i=1; iNF; i++)
print $i;}'
On Thu, 2007-04-26 at 11:18 +0800, Zhang Weiwu wrote:
I know this is OT but we got so many sysops here and this might be
something very easy for them to drop me
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
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