The Less package contains a text file viewer.
User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/less
Prepare Less for compilation:
./configure --prefix=/usr --sysconfdir=/etc \
--with-secure
The meaning of the configure options:
--sysconfdir=/etc
This option tells the programs created by the package to look
in /etc for the configuration
files.
--with-secure
This optional switch will disable the "!" shell command, "|"
pipe command, ":e" examine command, "v" editing command, "-o"
log files, "-k" use of lesskey files, "-t" use of tags,
metacharacters in filenames, and filename completion. This
switch has the same effect as the LESSSECURE=1 environment variable, except that
it is hard coded.
Compile the package:
make
This package does not come with a test suite.
Install the package:
make install