MPE/iX Shell and Utilities Reference Manual, Vol 2
pax(1) MPE/iX Shell and Utilities pax(1)
where keyword is either to or from and value is the name of a code set. Sample
code sets include:
IS8859 ISO/IEC 8859-1 (8-bit ASCII)
IS646 ISO 646 (7-bit ASCII)
CP1047 Codepage 1047
For a complete list of code sets, see iconv(3).
Note: It is possible that the –o may be expanded in future releases to accept other
keywords and values. Currently, specifying an unknown keyword results in a warn-
ing message from pax.
You can omit either the to or from keyword. If you omit to, pax assumes that you
want to write (or read) a portable archive tape and will convert the data to ISO/IEC
8859-1. If you omit from, pax assumes that you are converting from the system-
specific local code set.
If your input contains a character which is not valid in the source code set, pax dis-
plays a warning and continues, leaving the character untranslated. In the inverse sit-
uation, where the source code set contains a character that is not in the destination
code set, pax converts the character to an underscore (_).
Note: If you do not specify –o, no code set conversion is done. When doing code
set conversions, pax assumes that all files are text files, since only text files are por-
table.
–p string
specifies file characteristic options. string can consist of any combination of the fol-
lowing specification characters:
a does not preserve file access times.
e preserves the user
ID, group ID, file mode, access time, and modification
time.
m does not preserve file modification times.
o preserves the user ID and group ID.
p preserves the file mode.
If a character in string duplicates or conflicts with another character in string, the one
given last takes precedences. By default, pax restores modification time only.
–q for input mode only, pax assumes that all created files are text files and extracts them
to the local text file format. On systems with fixed length records, this might mean
padding with blanks to the record length.
Commands and Utilities 1-419