rt

来自「ns2.1b5版本中cbrp碼」· 代码 · 共 26 行

TXT
26
字号
#! /bin/shprogname=`basename $0`if [ -f ns ] ; then    PROG=./nselif [ -f ns.dyn ] ; then    PROG=./ns.dynfirm -f out.tr all.tr coreecho $PROG tcl/test/test-suite-$1.tcl $2 $3if $PROG tcl/test/test-suite-$1.tcl $2 $3 ; then    if [ ! -f out.tr ] ; then	echo "$progname: no output?" 1>&2    else	if [ -n "$DISPLAY" ] ; then	    raw2xg -m 90 -s 0.01 out.tr | xgraph 	else	    file=`perl -ane '$F[2] =~ s/test_// ; $F[2] =~ s/_/-/g; print $F[2]; exit' out.tr`	    raw2gp -a out.tr | gnuplot	    echo "$progname: postscript of graph is in $file.ps"	fi    fielif [ -f core ] ; then    echo "$progname: core dump" 1>&2fi

⌨️ 快捷键说明

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