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

Usage Note<br />

Exit Values<br />

Portability<br />

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

command is a built-in shell command.<br />

If you specified –v, possible exit status values are:<br />

0 Successful completion<br />

1 command could not find command-name, or an error occurred<br />

2 Failure due to incorrect command-line argument<br />

If you did not specify –v, possible exit status values are:<br />

126 command found command-name, but failed to invoke it.<br />

127 An error occurred in the command or it could not find command-name.<br />

Otherwise, the exit status of command is the exit status of command-name.<br />

P<strong>OS</strong>IX.2.<br />

Related Information<br />

sh<br />

compress — Lempel-Ziv file compression<br />

Format<br />

Description<br />

compress [–cDdfVv] [–b bits] [file ...]<br />

command<br />

compress compresses each input file using Lempel-Ziv compression techniques. If<br />

you do not specify any input files, compress reads data from standard input (stdin)<br />

and writes the compressed result to standard output (stdout).<br />

The output files have the same names as the input files but with a .Z suffix. For<br />

example, abc is compressed into abc.Z. If the .Z file already exists and you did not<br />

specify the –f option, compress gives an error and asks whether it should overwrite<br />

the existing file.<br />

compress uses the modified Lempel-Ziv algorithm described in A Technique for<br />

High Performance Data Compression, Terry A. Welch, IEEE Computer, vol. 17, no.<br />

6 (June 1984), pp.8-19. compress first replaces common substrings in the file by<br />

9-bit codes starting at 257. After it reaches code 512, compress begins with 10-bit<br />

codes and continues to use more bits until it reaches the limit set by the –b option.<br />

Chapter 2. Shell command descriptions 143

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

Saved successfully!

Ooh no, something went wrong!