tim at birdsnest.maths.tcd.ie
Sun Jul 11 11:16:21 IST 2004
On Sunday 11 July 2004 10:48, olearypj at rte.ie wrote:
> I need to delete the header & keep the body of an email,I tried
> it with the following sed command,
> sed '1,/^$/d' email > emailbody.txt
> to delete from the first line up to the first white space,
> but all I get is an empty emailbody.txt. I've tried the command with small
> text files with different numbers of white spaces & it works everytime.
> What am I doing wrong with the real email? There is what looks like a few
> blank lines between the bottom of the header & the body, co I'm confused
Maybe they are not blank lines.
What does "od -c email" say?
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
More information about the ILUG