📄 h_edit.1
字号:
.\" @(#)h_edit.1 91/04/23 NIST;.\" I Image Recognition Group.\" Stan Janet.\".TH H_EDIT 1 "23 Apr 91".SH NAME.nfh_edit \- edit Sphere-format speech file headers.fi.SH SYNOPSIS.nf\fBh_edit\fP [-uvf] -{S|I|R}field=value ... [-D dir] file ...\fBh_edit\fP [-uvf] -{S|I|R}field=value ... -o outfile file.fi.SH DESCRIPTIONSphere file headers can be modified using the utility \fIh_edit\fP.In its first form, the specified file(s) is copied to a new directorythe \fI-D dir\fP option is present; otherwise the file(s) is to beedited in-place. In its second form, the specified file is writtento a new file if the \fI-o outfile\fP option is present; otherwisethe file is to be edited in-place. The \fI-D\fP and \fI-o\fP optionsare not compatible.At least one file must be present on the command line, as well asat least one field modifier.If a specified field exists and the modifierwould change the type, the edit will fail with a "type mismatch".Use.I "h_delete(1)"to delete the field first.If a file is to be edited in-place and the editing does notchange the size of its header, the new header is written over the oldone and the speech samples do not need to be copied.The update to version 2.0 of sphere forces restrictions on the use of certain fields and there types. Consult sphere.doc in this distributionfor complete description of the required fields..SH OPTIONS.PD 0.TP.B \-uunlink the source files after creating new ones (requires -D or -o).TP.B \-vturns on verbose output.TP.B \-fif edits fail for some fields of a file, continue trying others.TP.B "\-S fieldname=value"change the string field's value (create if necessary).TP.B "\-I fieldname=value"change the integer field's value (create if necessary).TP.B "\-R fieldname=value"change the real number field's value (create if necessary).TP.B "\-D directory"copy output files to new directory, retaining source file basenames.TP.B "\-o outfile"copy output file to specified destination file.PD.SH "EXIT STATUS"Zero if all edits succeed on all files, non-zero otherwise.SH EXAMPLES.PD 0.TP.B "h_edit -Sfoo=bar -Isamples=65536 f1.wav f2.wav"Edit files f1.wav and f2.wav in-place, setting the valuesof string field.I footo bar and integer field.I samplesto 65536..PD.SH AUTHORStan Janet (stan@jaguar.ncsl.nist.gov)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -