Dilib command, DamHfdSelect

From Wicri Tools

NAME

DamHfdSelect - Select records from Hfd structure.

SYNOPSIS

       DamHfdSelect [ -Kn ] -h hfd [ -k recordKey ] [ -l keyList ]

DESCRIPTION

DamHfdSelect gets a list of hfd record key_numbers by option analysis or on standard input and prints corresponding records. On standard input, keys may be separated by spaces, tabs, newline, colon, semicolon, slash.

OPTIONS

       -hhfd          defines hfd file from which records are selected.  Only radical (without suffix) must be given.

       -i             insert mode, if set the input stream is composed of an extracting key  followed  by  a  tabulation
                      mark and the end of record which will be copied.

       -K             if set, record key will be copied on standard output.

       -krecordKey    introduces the a for extracting a record and printing it.

       -lkeyList      list of keys to be extracted.  Authorized separators are the same than for standard input.

       -n             If  set,  no  read  operation will be done on stdin. (in this case, DamHfdSelect is only driven by
                      parameters)

EXAMPLE

Reading record key 012314 on hfd mybase.hfd:

            DamHfdSelect -n -h mybase -k 012314