home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / editors / 2746 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!gumby!wupost!cs.utexas.edu!hermes.chpc.utexas.edu!michael
  3. From: michael@chpc.utexas.edu (Michael Lemke)
  4. Subject: Re: VI??? GROSS!
  5. Message-ID: <1992Nov13.195845.26399@chpc.utexas.edu>
  6. Organization: The University of Texas System - CHPC
  7. References: <1992Nov13.124435.20019@cas.org> <1992Nov13.152821.6781@nsisrv.gsfc.nasa.gov> <1992Nov13.192831.29277@cs.wisc.edu>
  8. Date: Fri, 13 Nov 92 19:58:45 GMT
  9. Lines: 26
  10.  
  11. In article <1992Nov13.192831.29277@cs.wisc.edu> cheevers@wolf.cs.wisc.edu (John Cheevers) writes:
  12. >mikeg@asylum.tmc.edu (Michael Grabenstein) writes:
  13. >>    Moving columns around??? What editor will unless it is a 
  14. >>word processor that can do columns, then its easy. But in vi
  15. >>my suggestions would be to use a seperate named buffer for each
  16. >>line in the column and then place and join. (vi command for
  17. > ^^^^ word?
  18. >>getting jsut characters:  "ayl  a is the same as above and yl is
  19. >>yank letters, getting easier? :)
  20. >
  21. >This could give you problems with lining up columns.
  22. >An easier way is to pipe the paragraph through awk:
  23. >
  24. >    !} awk '{ printf "\%10s\%10s\%20s\n", $3, $2, $1}'
  25. >
  26. >    or  :10,14 ! awk '{ printf "\%10s\%10s\%20s\n", $3, $2, $1}'
  27. >
  28.  
  29. Oh boy!  And this you call a screen editor?  (That was what started the 
  30. thread).
  31.  
  32.  
  33. -- 
  34. Michael Lemke
  35. Astronomy, UT Austin, Texas
  36. (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
  37.