16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

cmp<br />

File Tag Specific Options<br />

Localization<br />

Exit Values<br />

Messages<br />

Portability<br />

Related Information<br />

comm, diff, uniq<br />

–s Suppresses output and returns a nonzero status if the files are not identical.<br />

–x Displays the differing bytes shown by the –l option in hex; normally cmp<br />

displays them in octal.<br />

–B Disable autoconversion of tagged files.<br />

cmp uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 The files were identical<br />

1 The files were not identical<br />

2 Failure because of an error opening or reading an input file<br />

Possible error messages include:<br />

EOF on filename<br />

cmp reached the end of the file on the specified file before reaching the<br />

end of the file on the other file.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

The –b and –x options and the seek pointers are extensions of the P<strong>OS</strong>IX<br />

standard.<br />

col — Remove reverse line feeds<br />

Format<br />

col [–bfpx] [file ...]<br />

Note: The col utility is fully supported for compatibility with older <strong>UNIX</strong> systems.<br />

However, because it is no longer supported by P<strong>OS</strong>IX.2 IEEE standard<br />

1003.2-1992, this utility should be avoided for applications intended to be<br />

portable to other <strong>UNIX</strong>-branded systems.<br />

138 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!