Re: Help with a Unix script for...

From: RHS Linux User (blue@CALICO.GATOR.NET)
Date: 10/28/97

Apologizes for the extranneous posting, but:

> # ok, this trims the first character from every line of file 'butt' and
> # writes the new file as 'butt.out'
> # you need to 'rm butt.out' every time, because this just appends the
> # text..

actually, i wrote the script (but didn't update yon comments) to:

read the first character of each line
if it's a '+', remove the first two characters and write the line
if it aint, just write the line..



     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST