Subj : Delete lines of text
To : Killroy
From : Digital Man
Date : Tue Jan 08 2008 05:40 pm
Re: Delete lines of text
By: Killroy to Angus McLeod on Tue Jan 08 2008 08:18 pm
> Re: Delete lines of text
> By: Angus McLeod to Killroy on Tue Jan 08 2008 01:22 pm
>
> > > I am looking to create a simple script that will delete the first and
> > > lines of an ANSI file. Does anyone have any ideas?
>
> > sed '1d;$d' filename
>
> Does't work. Is this a UNIX command?
'sed' traditionally comes with *nixes, but you can also get it for Windows.
e.g.
http://sourceforge.net/project/showfiles.php?group_id=9328, unxutils.zip
includes a Win32 build of sed.
digital man (xbox-live: digitlman)
Snapple "Real Fact" #20:
Broccoli is the only vegetable that is also a flower.
Norco, CA WX: ---.-�F, --% humidity, NaN mph --- wind, --.-- inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net