New answers tagged text
I have struggled with this as well but have found an answer that works for me. It's a two-step process: fmt inputfile.txt > outputfile.txt a2ps outputfile.txt Of course that can happen all on one line: fmt inputfile.txt > outputfile.txt; a2ps outputfile.txt And if you like you can also rm the outputfile.txt. I've done this several times now and ...
Pipe it to less: your_programm | less
I would pipe the command to less with the -F or --quit-if-one-screen option which Causes less to automatically exit if the entire file can be displayed on the first screen. The advantage of the -F option is that it saves you having to type q if the number of lines of text is less than the height of the screen. curl URL | less -F This would keep the ...
Top 50 recent answers are included