Dhead - Selection of the top n records

[ English | Japanese ]

SYNOPSIS

Dhead [ -number-of-records ] [input-file..]

Dhd is the short name (UNIX only) for Dhead.

DESCRIPTION

Dhead selects the top number-of-records records from each input-file. If an input file has less than the -number-of-records records, all the records of that file are selected. (It does not affect to the next input file).

When there are more than one input-files, "filename:" field is added to each output record unless the input file is not standard input.

When the number-of-records parameter is not given, 1 is assumed.

FIXED NAME FIELDS

filename:
at the top of each record, when there are more than one input-files.

DIAGNOSTICS

See the manual of D_msg.

SEE ALSO

Dintro, Dextract, D_msg.

AUTHOR

MIYAZAWA Akira


miyazawa@nii.ac.jp
2003