3 ms·
Look in the man page. There's an entire section about how to edit the command line that is used when entering, for example, the command to view a different name
by oneeyedpigeon 10y ago
Look in the man page. There's an entire section about how to edit the command line that is used when entering, for example, the command to view a different named file. That smells really bad - surely that mechanism shouldn't be specific enough to a pager that it needs a huge section in the help file.
All-in-all, less does feel big relative to other programs adhering to the unix philosophy. I tried to do a feature-comparison between more and less just now but, unfortunately, on OSX:
~/src/c$ more --version
less 418
- GFK_of_xmaspast 10y agoSo now you're complaining that "there's too much documentation"? (or that "once you're in less you shouldn't be able to view another file without quitting"?)
- notalaser 10y agoHe's complaining that there's too much crap in a single program that shouldn't have to do anything other than page files. It has been possible to view another file without quitting less since pretty much the dawn of Unix time by suspending less and launching another instance (or, more recently, as in for the last thirty years or so, by using a terminal multiplexer).