man.diff
来自「speech signal process tools」· DIFF 代码 · 共 109 行
DIFF
109 行
.\" Copyright (c) 1990 Entropic Speech, Inc.; All rights reserved.\" @(#)hditem.1 1.5 4/1/97 ESI.TH HDITEM 1\-ESPS 4/1/97.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH NAMEhditem - print an item from an ESPS file header.SH SYNOPSIS.B hditem[.B \-s].BI \-i " item_name".I file.SH DESCRIPTION.PP.I Hditemprints an item from an ESPS file header on the standard output.If the.B \-s(silent) option is given, it merely returns a success or failurestatus, depending on whether or not the given generic item is definedin the file header..PP\fIHditem\fR looks for items by the name given in ESPS(5\-ESPS) (the common or universal part of the header)and generic header items.Sometimes these names are the same as the names printedby psps(1\-ESPS), but this is a coincidence. Support for thepsps(1\-ESPS) item names is not provided..PPIf \- is specified as the input file, standard input is read..PPThe following "items" are universal or common header itemsand are always recognized:.IP \fIprogram\fRThe program that created the file.IP \fIversion\fRThe version of the program that created the file..IP \fIprogdate\fRThe date the program that created the file was compiled..IP \fIdate\fRThe file creation date.IP \fItyptxt\fRThe typtxt field in the file header.IP \fIcomment\fRThe comment text in the file header.IP \fIcurrent_path\fRThe path (including host name) to the directory where the file was created.IP \fIndrec\fRThe number of data records in the file.IP \fItype\fRThe ESPS type code..IP \fIhdvers\fRThe version number of header.h used to make the input file..IP \fIuser\fRThe first 8 characters of the username (login name) of thecreater of the file..PPTwo pseudo items are also always recognized:.IP \fIhostname\fRThe host system on which the file was created.IP \fIcwd\fRThe directory path to where the file was created on the host system..LPThese two items make up the \fIcurrent_path\fR item described above.They have been broken out to make shell script processing easier..PPOther items are searched for using the \fIget_genhd\fP(3-ESPS) call..SH OPTIONS.PPThe following options are supported:.TP.B \-sSilent mode. Just return success or failure to the shell(unless the file specified is not a valid ESPS file)..TP.BI \-i " item_name"Specify the name of the header item whose value is desired..SH ESPS PARAMETERS.PPThe parameter file is not read. .SH ESPS COMMON.PPThe common file is not used..SH WARNINGS.PPNote that \fIhditem\fR gives the warning message\fBBroken pipe\fR, if it is on a pipe line. .SH EXAMPLES.PPPrint the number of samples in.IR peter.sd :.nf %hditem -i ndrec peter.sd.fi.SH BUGSNone known..SH EXPECTED CHANGES.PPAdd support for fea_type, segment_labeled, and field_countas items in FEA files and complex generic header items..SH AUTHOR.PPJoe Buck. ESPS 3.2 conversion and item expansion by David Burton.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?