Showing What's in a File
is one of those classic file-listing programs, like
on MS-DOS, that does so much you never realized you needed to
It does so much more than
and does it so much better, that it's one of the first programs I port to a new
If I tried to cover all the features, this article would be ten pages
comes with online help (type
) and a
comprehensive manual page, which is stored with the software on the
Some of the features and advantages:
No relearning: less
does the right thing when you use more
While reading from
can redraw the screen and read previous pages.
Lots of ways to move to certain parts of the file: by line number,
percentage, screen, with a search.
Can mark and return to lines.
For programmers: handles
nonstandard tabstops (41.4
Finds matching braces and parentheses.
An incredible number of screen-control settings and options to make
the screen look like you want it, including position after searches.
Customizable prompt to give you the information you want.
program (which is included with the less
distribution on the disc) lets you make custom key definitions.
You can store your favorite setup options in the LESS
environment variable (6.1