plotsd

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

TXT
111
字号
#! /bin/sh#-----------------------------------------------------------------------+#									|#   This material contains proprietary software of Entropic Speech,	|#   Inc.  Any reproduction, distribution, or publication without the	|#   prior written permission of Entropic Speech, Inc. is strictly	|#   prohibited.  Any public distribution of copies of this work		|#   authorized in writing by Entropic Speech, Inc. must bear the	|#   notice								|#									|#    "Copyright (c) 1987 Entropic Speech, Inc. All rights reserved."	|#									|#-----------------------------------------------------------------------+#									|#  cover function for plotpit, plotsd, and plotpspec			|#									|#  by Rodney W. Johnson, Entropic Speech, Inc.				|#									|#  This command file runs the C program plotpit, plotsd, or plotspec,	|#  depending on the name by which the command file is invoked.  It	|#  pipes the output through various filter combinations selected by	|#  the -T option							|#									|#-----------------------------------------------------------------------+# Sccs information: @(#)plotsd	1.1  6/8/87PLOTDIR1=$PLOTDIR$PLOTDIR2=$PLOTDIR$STOU=$PLOTDIR1/stouPLOTAS=$PLOTDIR1/plotasTPEN=$PLOTDIR1/tpencase $0 inplotpit)    PLOT=$PLOTDIR2/plotpit ;;*/plotpit)    PLOT=$PLOTDIR2/plotpit ;;plotsd)    PLOT=$PLOTDIR2/plotsd ;;*/plotsd)    PLOT=$PLOTDIR2/plotsd ;;plotspec)    PLOT=$PLOTDIR2/plotspec ;;*/plotspec)    PLOT=$PLOTDIR2/plotspec ;;esacIPR="ipr -Ltektronix -D\"prerasterization on\""device=mcd# Get command-line options.prevarg=for ido    case $prevarg in    -T)	device=$i	prevarg= ;;    -t)	command=$command" "\"$i\"	prevarg= ;;    "")	case $i in	-T)	    prevarg=-T ;;	-T*)	    device=`echo $i | awk '{print substr($0, 3)}'` ;;	-t)	    command=$command" "$i	    prevarg=-t ;;	-t*)	    command=$command" "-t" "\"`echo $i \				    | awk '{print substr($0, 3)}'`\" ;;	*)	    command=$command" "$i ;;	esac;;    esacdonecase $prevarg in-t)    echo $PLOT: -t requires argument.    exit 1 ;;-T)    echo $PLOT: -T requires argument.    exit 1 ;;esaccommand=$PLOT" "$commandcase $device ingps)    echo $command "|" $STOU \	| sh -s ;;mcd)    tmp=/tmp/plot$$    echo $command 2">"$tmp "|" $STOU "|" mcd \	| sh -s    cat $tmp    rm $tmp ;;tek)    echo $command "|" $PLOTAS "|" $TPEN \	| sh -s ;;imagen)    echo $command "|" $PLOTAS "|" $TPEN "|" $IPR \	| sh -s ;;esac

⌨️ 快捷键说明

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