📄 cos.sh
字号:
#! /bin/sh# Get (approx) common offset section---runs in background# NOTE: Comment lines preceeding user input start with #!## Author: Jackset -x#!# Set input fileinput=cdp201to800.pack### Get the variation in offset from gather to gather (cf. Getcdps)#sugethw <cdp371to380 cdp offset >offsetvals#exit#!# On the basis of results of last paragraph set:minoffset=291 # minimum offsetvaroffset=83 # variation in offsets (can leave some slack)doffset=106 # delta offset (take smallest)j=0 # j is the index of the offset range (0 is near offset)#!# Hard-wired output file name--can change if you wishsection=cos.$j.pack### This takes a while! So do in background--hit return to get promptmin=`expr $minoffset + $j \* $doffset`max=`expr $min + $varoffset`suwind <$input key=offset min=$min max=$max >$section &
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -