Drename - Renaming the field names

SYNOPSIS

Drename field-rename-list [input-file..]

Drn is the short name (UNIX only) for Drename.

DESCRIPTION

Drename renames field names by given field-rename-list. A field-rename-list is a field-list of which entry has a form of

old-field-name:new-field-name

For each field of input records, Drename searches old-field-name part of the field-rename-list, and when the field name is found, changes the field name to the corresponding new-field-name.

Renaming is not recursive. For example,

Drename "a:b,b:c"

does NOT rename field "a" to "c".

DIAGNOSTICS

See the manual of D_msg.

SEE ALSO

Dintro, D_msg.

AUTHOR

MIYAZAWA Akira


miyazawa@nii.ac.jp
2003