HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
n
nl(1) nl(1)
appear between the -d and the delimiter characters, however, this restriction is not
there for XPG4 compliant nl. To define a backslash as the delimiter, use two
backslashes.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the collating sequence used in evaluating regular expressions.
LC_CTYPE determines the characters matched by character class expressions in regular expressions.
If LC_COLLATE or LC_CTYPE is not specified in the environment or is set to the empty string, the
value of LANG is used as a default for each unspecified or empty variable. If
LANG is not specified or is
set to the empty string, a default of "C" (see lang(5)) is used instead of
LANG.
If any internationalization variable contains an invalid setting,
nl behaves as if all internationalization
variables are set to "C". See environ(5).
International Code Set Support
Single-byte character code sets are supported.
EXAMPLES
Number
file1 starting at line number 10, using an increment of ten. The logical page delimiters are
!
and +:
nl -v10 -i10 -d!+ file1
SEE ALSO
pr(1), environ(5), lang(5), regexp(5).
STANDARDS CONFORMANCE
nl: SVID2, SVID3, XPG2, XPG3, XPG4
Section 1−−648 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005