Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (p - r) pack(1)
EXAMPLES
1. To compress les, enter:
pack chap1 chap2
This command compresses the les chap1 and chap2, replacing them with les named
chap1.z and chap2.z. The pack command displays the percent decrease in size for each
le.
2. To display statistics about the amount of compression done, enter:
pack - chap1 - chap2
This command compresses the les chap1 and chap2 and displays statistics about chap1
but not about chap2. The rst - (dash) turns on the statistic display, and the second -
(dash) turns it off.
NOTES
If you try to use pack on a very small le, you might receive the following message:
pack lename: No saving -- file unchanged
EXIT VALUES
The pack command returns the following values:
0 (zero) The command completed successfully and all les were packed.
>0 An error occurred because some of the les could not be packed. The number
returned is the number of les that the pack command could not pack.
RELATED INFORMATION
Commands: cat(1), compress(1), uncompress(1), unpack(1), zcat(1).
STANDARDS CONFORMANCE
This command conforms to the XPG4 Version 2 specication with extensions.
527188-003 Hewlett-Packard Company 73