Difference between revisions of "Dilib command, DamHfdSelect"
From Wicri Tools
| imported>Jacques Ducloy  (→OPTIONS) | imported>Jacques Ducloy  m (8 revisions imported) | ||
| (One intermediate revision by the same user not shown) | |||
| Line 25: | Line 25: | ||
| ==EXAMPLE== | ==EXAMPLE== | ||
| ''Reading record key <code>012314</code> on hfd <code>mybase.hfd</code>: | ''Reading record key <code>012314</code> on hfd <code>mybase.hfd</code>: | ||
| − | <source lang=" | + | <source lang="sh"> | 
|              DamHfdSelect -n -h mybase -k 012314 |              DamHfdSelect -n -h mybase -k 012314 | ||
| </source> | </source> | ||
Latest revision as of 21:36, 14 June 2017
Contents
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

