Ted Pavlic wrote:
> NOTE: Assuming that you're on a machine with the "rs" (reshape) command, 
> you can position your cursor on the first line and do:
> 
> !Grs 3
> 
> and you'll get exactly what you want. That's quick and easy (but it 
> requires rs, and for some reason many distros don't include rs 
> anymore... why?).

Sounds like you can get exactly the same thing using the more 
standard "pr" command:

   :%!pr -3 -t -a

that's "-3" columns without header/footer information ("-t") and 
done across ("-a") rather than columnarly.  I use "pr -4 -t" 
pretty regularly to columnize stuff while working at the 
command-line, so it's become second-nature (so much so that I had 
to double-check that the "-t" really did suppress headers/footers).

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to