replaceh5.sh
来自「pic 模拟程序!面向对象」· Shell 代码 · 共 41 行
SH
41 行
#!/bin/sh####################################################################### File: replace1.sh## Purpose: Replace the output to conform to new output.## Version: $Id: replaceh5.sh,v 1.2 2004/03/04 16:06:34 cary Exp $## Copyright 1999-2004 Tech-X Corporation######################################################################## set some needed pathsTEST_PATH=`dirname $0`############ Get the options###########testname=$1# Make the directoryecho Replacing output for test, $testname.if test ! -d ${testname}_accepted; then mkdir ${testname}_accepted cvs add ${testname}_accepted newdir=1fi# Figure out which files to addaddfiles=`ls ${testname}*.h5`# Add those filesif test -z "$newdir"; then (cd ${testname}_accepted; rm -f $addfiles )ficp $addfiles ${testname}_accepted(cd ${testname}_accepted; cvs add -kb $addfiles)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?