Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (a - b) ar(1)
• If the file specified in the file operand is being added to the archive and the -r flag is
used, the standard output is:
"a - %s\n", file
where file is the file operand specified on the command line if file operands were
specified, or the name of the file within the archive file if the file operands were not
specified.
• If the -t flag is used, ar writes the names of the files to the standard output file in the for-
mat:
"%s\n", file
where file is the file operand specified on the command line if file operands were
specified, or the name of the file within the archive file if the file operands were not
specified.
• If the -t flag is used with the -v flag the standard output is:
"%s %u/%u %u %s %d %d:%d %d %s\n",
member-node, user-ID, group-ID,
number-of-bytes-in-member, abbreviated-month, day-of-the-month, hour, minute, year,
file
Where:
file is the file operand specified on the command line if file operands were
specified, or the name of the file within the archive file if the file operands were
not specified.
member-node
is formatted the same as the file-node string in the output of the ls command,
except for the first character, the entry-type, which is not used. The string
represents the file mode of the archive member at the time it was added to, or
replaced within, the archive file.
user-ID is the OSS user ID (UID) associated with the file at the time it was added to, or
replaced within, the archive file.
group-ID
is the group ID (GID) associated with the file at the time it was added to, or
replaced within, the archive file.
number-of-bytes-in-member
is the size of the file in bytes at the time it was added to, or replaced within, the
archive file.
The following output entries record the last modification time of a file when the file was
most recently added or replaced in the archive file.
abbreviated-month
is equivalent to the %b format in the output of the date command.
day-of-the-month
is equivalent to the %e format in the date command.
527188-003 Hewlett-Packard Company 1−11