[ILUG] Large SQL File
Robert Sweetnam
ilug at labarry.com
Wed Jul 7 15:59:38 IST 2004
On Wednesday 07 July 2004 13:32, Ruairi Newman wrote:
> On Wed, 2004-07-07 at 14:45, Robert Sweetnam wrote:
> > Thats brilliant, Ronan, Thanks a million. Keep an eye out for my post on
> > how to stitch them back together :)
> > How could I remove those lines altogether from the original file?
>
> Have a look at the "d" command in sed. You can delete single or
> multiple lines or ranges of lines.
>
> Rgds,
>
> Ruairí
>
> --
> n: Ruairí Newman
> c: Eirteic Consulting Ltd
> e: rne at eirteic.com
> w: +353 21 4855210
> m: +254 721 804464
Excellant, Thanks to all that replied.
sed -n '987d' removed the offending line for me.
Regards
Robert
More information about the ILUG
mailing list