Article View: comp.editors
Article #1379Re: VI??? GROSS!
From: Michael Lemke
Date: Fri, 13 Nov 1992 19:58
Date: Fri, 13 Nov 1992 19:58
26 lines
1434 bytes
1434 bytes
In article <1992Nov13.192831.29277@cs.wisc.edu> cheevers@wolf.cs.wisc.edu (John Cheevers) writes:
>mikeg@asylum.tmc.edu (Michael Grabenstein) writes:
>> Moving columns around??? What editor will unless it is a
>>word processor that can do columns, then its easy. But in vi
>>my suggestions would be to use a seperate named buffer for each
>>line in the column and then place and join. (vi command for
> ^^^^ word?
>>getting jsut characters: "ayl a is the same as above and yl is
>>yank letters, getting easier? :)
>
>This could give you problems with lining up columns.
>An easier way is to pipe the paragraph through awk:
>
> !} awk '{ printf "\%10s\%10s\%20s\n", $3, $2, $1}'
>
> or :10,14 ! awk '{ printf "\%10s\%10s\%20s\n", $3, $2, $1}'
>
Oh boy! And this you call a screen editor? (That was what started the
thread).
--
Michael Lemke
Astronomy, UT Austin, Texas
(michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
Technical Details
Message-ID:
<1992Nov13.195845.26399@chpc.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gumby!wupost!cs.utexas.edu!hermes.chpc.utexas.edu!michaelReferences:
<1992Nov13.124435.20019@cas.org> <1992Nov13.152821.6781@nsisrv.gsfc.nasa.gov> <1992Nov13.192831.29277@cs.wisc.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.editors Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!wupost!cs.utexas.edu!hermes.chpc.utexas.edu!michael From: michael@chpc.utexas.edu (Michael Lemke) Subject: Re: VI??? GROSS! Message-ID: <1992Nov13.195845.26399@chpc.utexas.edu> Organization: The University of Texas System - CHPC References: <1992Nov13.124435.20019@cas.org> <1992Nov13.152821.6781@nsisrv.gsfc.nasa.gov> <1992Nov13.192831.29277@cs.wisc.edu> Date: Fri, 13 Nov 92 19:58:45 GMT Lines: 26