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.

Localization<br />

clear 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 />

Environment Variables<br />

clear uses the following environment variables:<br />

Exit Values<br />

Related Information<br />

tput<br />

TERM Contains the current terminal type.<br />

TERMINFO<br />

Contains the terminal information database, if different than the default.<br />

0 Successfully cleared the screen according to the current terminal’s<br />

characteristics.<br />

1 The terminal definition does not define a ″clear″ capability.<br />

2 Syntax error.<br />

cmp — Compare two files<br />

Format<br />

Description<br />

Options<br />

3 The terminal definition specified by TERM is invalid.<br />

4 Invalid terminfo capability.<br />

cmp [–blsxB] file1 file2 [seek1[seek2]]<br />

cmp compares two files. If either filename is –, cmp reads the standard input<br />

(stdin) for that file. By default, cmp begins the comparison with the first byte of<br />

each file. If you specify seek1 and/or seek2, cmp uses it as a byte offset into file1<br />

or file2 (respectively), and comparison begins at that offset instead of at the<br />

beginning of the files. The comparison continues (1 byte at a time) until a difference<br />

is found, at which point the comparison ends and cmp displays the byte and line<br />

number where the difference occurred. cmp numbers bytes and lines beginning<br />

with 1.<br />

–b Compares single blocks at a time. Normally, cmp reads large buffers of<br />

data into memory for comparison.<br />

–l Causes the comparison and display to continue to the end; however, cmp<br />

attempts no resynchronization. cmp displays the byte number (in decimal)<br />

and the differing bytes (in octal) for each difference found.<br />

clear<br />

Chapter 2. Shell command descriptions 137

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

Saved successfully!

Ooh no, something went wrong!