On Sunday 11 July 2004 12:13, olearypj at rte.ie wrote:
> Thanks for the reply, this is a bit of the output form "od -c
> email" where I thought the blank lines were, or at least thats what it
> looks when I look at the email as a text file.
>> 0003560 : r o o t @ a u s - c i t y .
> 0003600 c o m \r \n \r \n \r \n O S C A R 7
> 0003620 \r \n 1 0 7 5 3 0 U 7 4 0 8 9
>> The \r \n characters between city.com & oscar 7 is where I thought the
> blank lines were
I'm sure one of the many ILUG sedomists will give an authoritative solution,
but I'd try [\r\n] in your script.
But I've only used sed twice in my life.
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!