cdxar(1M)


cdxar -- read CD-ROM Extended Attribute Record (XAR)

Synopsis

cdxar [-s number] [-b] file

Description

cdxar displays the Extended Attribute Record (XAR) associated with a File Section of a file or directory. The output is a table that lists each field in the XAR and its contents. If the -b option is not used, the Application Use field and the Escape Sequences field are not listed because they may contain non-printable characters.

file
File or directory in the CD-ROM file system.

-s number
Specifies the File Section for which the XAR shall be read. The numbering starts with one. If this option is omitted, the last File Section of that file is assumed.

-b
Displays the XAR in binary format, including the Application Use Field and the Escape Sequences field.

Environment variables

IF LC_TIME (which determines the format and contents of the date and time strings) is not set or is set to the empty string, then cdxar uses the value of LANG. If LANG is not set, or is set to the empty string, cdxar uses the value from the implementation-specific default locale. If both LC_TIME and LANG contain invalid settings, cdxar behaves as if all of the variables are undefined.

Exit codes


0
Successful completion

1
file not found, file is not a file or directory in the CD-ROM file system, or access permission is denied.

2
File section specified by -s does not exist.

3
File Section specified by -s does not have a XAR.

References

cd_xar(3X)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004