[lug] delete last character of every line

Shannon Johnston sjohnston at cavionplus.com
Wed Mar 23 14:33:54 MST 2005


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?


Thanks,
Shannon




More information about the LUG mailing list