tcl.export.unix Verb: Access/Unix

tcl.export.unix

Command tcl.export.unix Verb: Access/Unix
Applicable release versions: AP/Unix
Category Unix (24)
Description exports Pick items to Unix files.

Attributes marks are converted to new line (x'0a') unless the "c" option is used. Other Pick delimiters (value marks, etc.) are not translated.

"unix.file" is created with Read Owner and Write Owner rights only (mode 0600), unless the "g" and/or "w" options are used.

"file.reference" is the source Pick file name.

"item.list" is the list of the source items. If not specified, an active list must be present. (see "select", "sselect", "get-list").

"dir" is the directory path where the destination files are to be copied. The filenames are the same as the item-id(s) from the source list. The "l" option is used to convert Unix filenames to lower case.

"Unix.file" is the list of the destination Unix files. Complete pathnames must be used if the files are not to be exported to the current directory. The current directory may be changed with the "cd" command. If no destination list is provided, the source list is used as the destination list.
Syntax export file.reference {item.list} {(options}
to :[ dir | {Unix.file {unix.file} ... } ]
Options c Prevents attribute marks to new lines conversion.

g Gives the unix.file read/write permissions to the group. This flag may be modified by the value of umask(1) of the current process.

i Suppresses display of item-ids.

l Converts unix.file name to lower case before exporting.

w Gives the unix.file read/write permissions to the "rest of the world". This flag may be modified by the value of umask(1) of the current process.
Example
Purpose
Related tcl.copy
tcl.set-kbrd.sco
tcl.import
dos.copypick
tcl.export.r83
dos.copypick.r83
tcl.export
tcl.export.unix.link