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: | 95 |
Nodes: | 16 (0 / 16) |
Uptime: | 04:05:20 |
Calls: | 4,632 |
Calls today: | 5 |
Files: | 8,491 |
Messages: | 348,349 |