fold - wrap each input line to fit in specified width
Great for when your text editor is being stupid.
Friday, 27 April 2007
Neato Unix Command (Friday, April 27, 2007)
Labels:
command_line,
fedora,
fold,
neato unix command,
tech,
text_editor,
unix
Subscribe to:
Post Comments (Atom)
I'm not sure what text editor you're using, but if it's Vim, I presume you're already aware of gq, gqap etc? They wrap lines, wrap all lines in a paragraph, and so on.
ReplyDeleteIt was gedit. I was printing a text file, and the output did not wrap on the printout. So I figured I'd see if there was a command to do the wrapping for me.
ReplyDeleteVim is perfect, of course, and could never be stupid.