Dproj - Projection of D-files

[ English | Japanese ]

[visit D-home]

SYNOPSIS

Dproj field-list [ input-file.. ]

Dpj is the short name (UNIX only) for Dproj.

DESCRIPTION

Dproj limits the fields to the given field names. For each input record, Dproj discards the fields not listed in the field-list, and outputs the remaining fields as a D-record. When no filed is remained (i.e., there is no listed field in the record) no output is made for the record.

The field-list may be an exclusive list (i.e., lead by "^"). In this case, listed fields are discarded from the input records.

(This program is called Dproj from the relational operation "projection", though it is not really a "relational".)

OPTIONS

-D [i/o]datautf=8|16|32
UTF I/O feature (see manual page of UTF I/O feature.)

ENVIRONMENT

Ddatautf, Didatautf, Dodatautf
for UTF I/O feature.

DIAGNOSTICS

See the manual of D_msg.

SEE ALSO

Dintro, Dpaste, D_msg.

AUTHOR

MIYAZAWA Akira


miyazawa@nii.ac.jp
2003