📄 cos.ksh
字号:
#! /bin/ksh# 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:integer minoffset=291 # minimum offsetinteger varoffset=83 # variation in offsets (can leave some slack)integer doffset=106 # delta offset (take smallest)integer 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 promptinteger min=minoffset+j*doffset max=min+varoffsetsuwind <$input key=offset min=$min max=$max >$section &
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -