Projects / Less

Less

Less is a program similar to more, i.e. a terminal based program for viewing text files and the output from other programs. Less offers many features beyond those that more does. For instance, it allows backward movement in the files as well as forward.

Tags
Licenses

RSS Recent releases

  •  18 Sep 2012 21:35

    Release Notes: Various improvements and fixes.

    •  02 Aug 2011 15:07

      Release Notes: A bug in unget handling that can cause strange effects on the command line was fixed. Vestiges of the obsolete -l option that can cause a crash were removed.

      Release Notes: The search behavior was changed to also include the target (top) line. The option "-A" was added to allow reverting this behavior. The "%F" prompt format string was added for showing only the last component of a file's path. Editing a command can now be exited with Ctrl+G. Handling of long options was improved, The percentage calculation for very large files was improved. Several minor bugs were fixed.

      Release Notes: The -# (--shift) option now accepts a fraction as an argument. A highlighting bug when underlined/overstruck text matched at end of a line was fixed. Non-regex searches with Ctrl-R were fixed.

      Release Notes: Binary file detection in UTF-8 mode was fixed. Non-ANSI-compliant code that caused problems with some compilers was modified. Display problems with long lines on "ignaw" terminals were resolved. A problem with the interrupting of the line number calculation for initial prompt was fixed. A highlighting bug when searching for underlined or overstruck text was fixed. The new "&" command allows filtering of lines based on a pattern. The status column now displays a search match, even if the matched string is scrolled off screen. Several other minor modifications and fixes were made.

      RSS Recent comments

      18 Jan 2003 01:09 ed_avis

      lesspipe.sh filters

      One of the features of less is piping the file to be viewed through a filter program (usually called lesspipe.sh) before viewing it. This means that gzipped files can be decompressed, troff source formatted, HTML rendered into plain text, and so on. Typically lesspipe.sh is a shell script which runs different filters depending on the input filename.

      The standard distribution of less does not include a lesspipe.sh, but there is one included in the less package from Red Hat (rpmfind.net//linux/RPM...) (and related distributions) and another with Slackware. Wolfgang Friebel's lesspipe.sh (www-zeuthen.desy.de/~f...) is unusual in that it uses file(1) to look at the file's contents.

      Screenshot

      Project Spotlight

      Java Algebra System

      An object-oriented, type safe, multi-threaded approach to computer algebra.

      Screenshot

      Project Spotlight

      GRAL

      A Java plotting library.