import command

The import BASIC program imports UNIX files to D3 items.

For Windows: Not Supported

Note: Newline characters are converted into attribute marks. The source UNIX files are either specified explicitly or are specified by the directory on which they can be found.


import file.reference item.list{(options}
from : [dir|{unix.file{unix.file}...}]


file.reference Destination of the D3 file name.
item.list List of the destination items. If not specified, a list must be active.
dir Directory where the source files are to be found. The file names are the same as the item-IDs from the source list. The l option is used to convert UNIX file names to lowercase.
unix.file Explicit list of the source UNIX files. Complete path names must be used if the files are not on the current directory. The current directory may be changed by the cd command. If no source list is provided, the destination list is used as a source list also. Wildcards are legal in the UNIX file, but in this case, all the files are concatenated before the copy.
options en Expands UNIX tabulations into a specified number of spaces. If a number of spaces is not specified, the default is four. Tabulations expansion is done using the pr(1) UNIX command.
i Suppresses display of item-IDs.
l Converts the UNIX file name into lowercase before the copy.
O Overwrites D3 items if duplicate item-IDs are encountered.
If the number of D3 items is not the same as the number of UNIX files, only the lesser of these two numbers is transferred.