remove extra blank lines from a file
/usr/bin/rmb acts as a filter to remove any
series of blank lines greater than two lines in length.
This means that all long sequences of blank lines will
be reduced to two blank lines.
This is particularly useful for cleaning nroff
output of blank lines before putting the output in a file.
Because /usr/bin/rmb is
a filter, it must be used within a piped command sequence as shown
in the following examples:
cat infile | /usr/bin/rmb > outfile
nroff infile | /usr/bin/rmb > outfile
It cannot be used in the form /usr/bin/rmb filename.
rmb is not part of any currently supported standard; it is
an extension of AT&T System V provided by
The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003