📄 cos
字号:
#! /bin/sh# Get (approx) common offset section---runs in background# NOTE: Comment lines preceeding user input start with #!## Author: Jackset -x#!# Set input file (the data may be packed--with supack2 or supack4)input=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=`bc -l <<END $minoffset + $j * $doffsetEND`max=`bc -l <<END $min + $varoffsetEND`suwind <$input key=offset min=$min max=$max >$section &
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -