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.
lines of an ANSI file. Does anyone have any ideas?
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
:-)
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,029 |
Nodes: | 17 (1 / 16) |
Uptime: | 63:11:33 |
Calls: | 503,622 |
Calls today: | 6 |
Files: | 136,977 |
D/L today: |
31,231 files (6,254M bytes) |
Messages: | 442,594 |
Posted today: | 1 |