HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

r
rmnl(1) 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
man(1), ssp(1).
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 1847