HPlogo HP-UX Reference Volume 1 of 5 > r

rmnl(1)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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).

© Hewlett-Packard Development Company, L.P.