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,050 |
Nodes: | 15 (0 / 15) |
Uptime: | 70:47:35 |
Calls: | 236,065 |
Calls today: | 13 |
Files: | 60,365 |
D/L today: |
133 files (169M bytes) |
Messages: | 289,934 |
Posted today: | 4 |