restart

来自「fastDNAml is an attempt to solve the sam」· 代码 · 共 30 行

TXT
30
字号
#! /bin/sh## restart shell script#if test $# -ne 1; then echo "Usage:  $0  checkpoint_file"; exit; fifile="$1"if test ! -f "$file"; then echo "$0: $file: File not found"; exit; filastTwoEnds=`egrep -n '((;)|(\)\.))[ 	]*$' "$file" |             sed 's/^\([0-9]*\):.*$/\1/' |             tail -2`nFound=`echo $lastTwoEnds | wc -w`if test $nFound -eq 0; then    echo "$0: Unable to locate end of tree(s) in file"    exitfiread first_lineecho "$first_line R"cat -# tail -1 "$file"if test $nFound -eq 1; then    cat "$file"else    penultimateEnd=`echo $lastTwoEnds | sed 's/^\([0-9]*\).*$/\1/'`    lastStart=`expr $penultimateEnd + 1`    tail +$lastStart "$file"fi

⌨️ 快捷键说明

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