pspsdiff.sh

来自「speech signal process tools」· Shell 代码 · 共 37 行

SH
37
字号
#! /bin/sh# This shell script is used to compare the output of two ESPS files# using psps and diff.# @(#)pspsdiff.sh	3.2	8/19/87	ESI#trap 'echo removing tmp files; /bin/rm -f $psps1 $psps2; exit' 2psps1=/tmp/psps1$$psps2=/tmp/psps2$$file2=\$$#file1=\$`expr $# - 1`opt=case $# in	0|1) echo Usage: $0 [-aDghHlvx] [-r start:end] [-t tag] [-f field_name] esps.file1 esps.file2	     exit 0 ;;	2) : ;;	*) argflag= 	   for i do		if test $argflag		then		   opt="$opt $i"		   argflag=		else		   case $i in			-[aDghHlvx]) opt="$opt $i" ;;			-[rtf]) opt="$opt $i"				argflag=SET ;;		   esac		fi	   doneesacfile1=`eval echo $file1`file2=`eval echo $file2`psps $opt $file1 >$psps1psps $opt $file2 >$psps2diff $psps1 $psps2/bin/rm -f $psps1 $psps2

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?