[ILUG] sed
olearypj at rte.ie
olearypj at rte.ie
Sun Jul 11 20:59:19 IST 2004
Quoting Baruch Even <baruch at ev-en.org>:
>
> You can try the command: sed -e '1,/^[[:space:]]\?$/d'
> to try to handle lines with a single space in them (\n is a space).
>
> I couldn't find how to specify \n by itself.
>
> Baruch
>
Thanks a million, taht did the trick for me. The only problem remaining is a few
lines at the bottom of the body, but I can delete them by playing around with
head or tail
Thanks again
Pat.
******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************
More information about the ILUG
mailing list