
cut(1) | cut(1) |
default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, cut behaves as if all internationalization variables are set to "C". See environ(5).
International Code Set Support
cut supports both single- and
EXAMPLES
Password ®le mapping of user ID to user names:
cut
Set environment variable name to current login name:
name=`who am i cut
Convert ®le source containing lines of arbitrary length into two ®les where file1 contains the ®rst 500 bytes (unless the 500th byte is within a
cut
DIAGNOSTICS
line too long
Line length must not exceed LINE_MAX characters or ®elds, including the
bad list for b/c/f option
Missing
no fields list is empty.
WARNINGS
cut does not expand tabs. Pipe text through expand(1) if tab expansion is required.
Backspace characters are treated the same as any other character. To eliminate backspace characters before processing by cut, use the fold or col command (see fold(1) and col(1)).
AUTHOR
cut was developed by OSF and HP.
SEE ALSO grep(1), paste(1).
STANDARDS CONFORMANCE
cut: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
c
− 2 − | Section 1−163 |