RMNL(1)
NAME
rmnl − remove extra new-line characters from file
SYNOPSIS
rmnl
DESCRIPTION
Rmnl removes all blank lines from a file (except at beginning of file as explained below), and is useful for removing excess white space from files for display on a CRT terminal. Groups of two or more successive \n (new-line) characters are reduced to a single \n character, effectively eliminating all blank lines in the file except that one or more blank lines at the beginning of a file remain as a single blank line. Rmnl is used by the man command.
To remove redundant blank lines rather than all blank lines, use ssp(1).
To remove all blank lines from a file including beginning of file, use rmnl piped to ssp, or ssp piped to rmnl.
Note: Man(1) and fixman(1M) do not use rmnl to remove excess blank lines as previously documented. Both commands use more(1) with the −s option.
SEE ALSO
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989