> At 12:16 PM 3/3/00 -0500, David S. Jackson wrote:
> >I'm just wondering when you use od?
> >Does anyone use this?
> >--
> >David Jackson ">dsj@dsj.net
> I used od just the other day when diff said that two lines were different
> but they looked identical to the naked eye. Turned out to be a spurious space
> or tab or something. Nevertheless, I'll grant you that I probably don't
> run it as often as once a month.
> Scott
> --
> Scott D. Anderson
> ">sdandrsn@mindspring.com
For seeing if there is trailing white space, spaces or tabs, etc. many
people are not aware of vi's "list" feature. When activated it shows
tabs as ^I and displays a $ at the end of each line.
To enable this just do ":set list RETURN". To go back to normal do
":set nolist RETURN".
To get rid of trailing white space in vi do
:%s/[ ^I][ ^I]*$//
Bob Toxen
">bob@cavu.com
http://www.cavu.com
Fly-By-Day Consulting, Inc. "Don't go with a fly-by-night outfit!"
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.