tabs in vi
Leslie Mikesell
les at chinet.chi.il.us
Fri Aug 25 04:40:22 AEST 1989
In article <242 at quad.uucp> dts at quad.uucp (David T. Sandberg) writes:
>Right, but I'm fairly certain that the idea was to end up with no
>tabs in the file. I recently ran into a situation where this would
>have been helpful; I had a text file which I wanted to edit mostly
>with vi, but also wanted to load into Uniplex on occasion. Editing
>the file without using the tabstops was bordering on ridiculous, and
>even if the system had featured an "expand", I wouldn't have wanted
>to run the file through the filter several times a day.
What's wrong with:
pr -t -e
to expand the tabs to the positions you want? (perhaps this is why
you don't have expand...)
My sysVr3.2 manual page for pr shows options also for
-eck for expansion
where c is the optional tab character
and k is an optional digit for the size of a tabstop (default=8)
-ick for the opposite i.e. replace spaces w/tabs where possible.
>Unfortunately, I arrived at the conclusion that there was no really
>good way to accomplish this.
Unfortunately the permuted index does not show tabs as being related
to the pr command (AT&T SvsVr3.2 for '386).
Les Mikesell
More information about the Comp.unix.questions
mailing list