tomwalters@0
|
1 .TH HDR 1 "1 September 1993"
|
tomwalters@0
|
2
|
tomwalters@0
|
3 .SH NAME
|
tomwalters@0
|
4 hdr \- Operations on AIM header.
|
tomwalters@0
|
5
|
tomwalters@0
|
6 .SH SYNTAX
|
tomwalters@0
|
7 hdr [options] [file]
|
tomwalters@0
|
8
|
tomwalters@0
|
9 .SH DESCRIPTION
|
tomwalters@0
|
10 Read an AIM output file. If no filename is given then input is expected
|
tomwalters@0
|
11 on the stdin. The input from AIM is expected to consist of an AIM header
|
tomwalters@0
|
12 followed by some data.
|
tomwalters@0
|
13 The header operations are: stripping, querying, or modifying.
|
tomwalters@0
|
14
|
tomwalters@0
|
15 .SH OPTIONS
|
tomwalters@0
|
16 Options take the form: <name>=<value>
|
tomwalters@0
|
17 and abbreviated option names are recognised provided they are unambiguous
|
tomwalters@0
|
18 wrt other names in the input header.
|
tomwalters@0
|
19
|
tomwalters@0
|
20 .nf
|
tomwalters@0
|
21
|
tomwalters@0
|
22 1. Stripping. If no options are given, then strip the header
|
tomwalters@0
|
23 and write the data which follows the header on the stdout.
|
tomwalters@0
|
24 Eg:
|
tomwalters@0
|
25 gensai output=stdout ... | hdr | ...
|
tomwalters@0
|
26
|
tomwalters@0
|
27 2. Querying. An empty value field (ie. <name>=) is interpreted
|
tomwalters@0
|
28 as a query, and the corresponding option value found in the
|
tomwalters@0
|
29 header is printed on the stderr.
|
tomwalters@0
|
30 Eg., to query the value of option pwidth_aid:
|
tomwalters@0
|
31
|
tomwalters@0
|
32 hdr pwid= file
|
tomwalters@0
|
33
|
tomwalters@0
|
34 Special option names are:
|
tomwalters@0
|
35
|
tomwalters@0
|
36 "all" causes all option values to be printed.
|
tomwalters@0
|
37 "format" causes the format of the AIM output file to be printed.
|
tomwalters@0
|
38
|
tomwalters@0
|
39 3. Modifying. Each option of the form <name>=<value> is
|
tomwalters@0
|
40 substituted for the corresponding option found in the input
|
tomwalters@0
|
41 header. A new header is constructed using the input header
|
tomwalters@0
|
42 and all given substitutions, and the new header is written
|
tomwalters@0
|
43 on the stdout, followed by the data which follows the input
|
tomwalters@0
|
44 header.
|
tomwalters@0
|
45 Eg., to change the value of pwidth_aid to 32ms:
|
tomwalters@0
|
46
|
tomwalters@0
|
47 hdr pwid=32ms file > file2
|
tomwalters@0
|
48
|
tomwalters@0
|
49 .fi
|
tomwalters@0
|
50
|
tomwalters@0
|
51 .SH "SEE ALSO"
|
tomwalters@0
|
52 edframe, fbank
|
tomwalters@0
|
53
|
tomwalters@0
|
54 .SH COPYRIGHT
|
tomwalters@0
|
55 .LP
|
tomwalters@0
|
56 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
|
tomwalters@0
|
57 .LP
|
tomwalters@0
|
58 Permission to use, copy, modify, and distribute this software without fee
|
tomwalters@0
|
59 is hereby granted for research purposes, provided that this copyright
|
tomwalters@0
|
60 notice appears in all copies and in all supporting documentation, and that
|
tomwalters@0
|
61 the software is not redistributed for any fee (except for a nominal
|
tomwalters@0
|
62 shipping charge). Anyone wanting to incorporate all or part of this
|
tomwalters@0
|
63 software in a commercial product must obtain a license from the Medical
|
tomwalters@0
|
64 Research Council.
|
tomwalters@0
|
65 .LP
|
tomwalters@0
|
66 The MRC makes no representations about the suitability of this
|
tomwalters@0
|
67 software for any purpose. It is provided "as is" without express or
|
tomwalters@0
|
68 implied warranty.
|
tomwalters@0
|
69 .LP
|
tomwalters@0
|
70 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
tomwalters@0
|
71 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
tomwalters@0
|
72 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
|
tomwalters@0
|
73 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
tomwalters@0
|
74 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
tomwalters@0
|
75 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
tomwalters@0
|
76 SOFTWARE.
|
tomwalters@0
|
77
|