[lug] delete last character of every line
Nate Duehr
nate at natetech.com
Thu Mar 24 14:45:38 MST 2005
And here I thought you were going to recommend doing it Visicalc on a Tandy Model 3! Heh heh.
-----Original Message-----
From: gkmarsh at ekit.com
Date: Thu, 24 Mar 2005 20:55:38
To:<rick at rickcasey.net>, <lug at lug.boulder.co.us>
Cc:lug at lug.boulder.co.us
Subject: Re: [lug] delete last character of every line
Shannon,
Copy the file to a floppy or 2. Start up your DRDOS FAT 16 computor,
load WordStar for DOS - ANY VERSION, open the file and use ^QA to find
and replace all "." with nothing
Greg Marsh - DRDOS forever!
Quoting Rick Casey <rick at rickcasey.net>:
>
> You said: <begin> Shannon Johnston<end>
>> Once again, I'm stuck with a little problem.
>> I've got a list of 6000 ip addresses in a text
>file, all of them have a
>> trailing ".". I need to get rid of that before it
>becomes useful.
>>
>> Does anybody know how to do that? Either in vi or
>as a sed command?
>
>In vi, at command line:
>
>%s/.$//g
>
>ought to do it...
>
>rick
____________________________________________________________________
eKit - the global phonecard with more!
Spend less on overseas calls, receive messages worldwide.
Visit http://www.ekit.com/ for details.
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
--
Nate Duehr, nate at natetech.com - WY0X
More information about the LUG
mailing list