I am looking to create a simple script that will delete the first and last lines of an ANSI file. Does anyone have any ideas?
I am looking to create a simple script that will delete the first and las lines of an ANSI file. Does anyone have any ideas?
And you need this script to be written in Baja?
I am looking to create a simple script that will delete the first and last lines of an ANSI file. Does anyone have any ideas?
I am looking to create a simple script that will delete the first and las lines of an ANSI file. Does anyone have any ideas?
sed '1d;$d' filename
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?
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?
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?
I will have to put up with that annoying "SmegZOT v1.00 aRf" and
"SmegWARE [Registered] in my logon.asc.
Re: Delete lines of text
By: Killroy to All on Mon Jan 07 2008 20:58:00
I am looking to create a simple script that will delete the first and
last lines of an ANSI file. Does anyone have any ideas?
sed '1d;$d' filename
:-)
lines of an ANSI file. Does anyone have any ideas?
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 106 |
Nodes: | 16 (1 / 15) |
Uptime: | 01:02:38 |
Calls: | 5,893 |
Calls today: | 9 |
Files: | 8,496 |
D/L today: |
57 files (9,929K bytes) |
Messages: | 344,837 |
Posted today: | 2 |