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.
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.
EXTERNAL INFLUENCES
International Code Set Support
Single- and multi-byte character code sets are supported.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 9.0: August 1992