⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 su 的源代码库
💻
字号:
Have replaced the old Korn shell versions by Bourne shells.  TheKorn versions are in the subdirectory 'KornShell'.  Also modernizedthe names of the shells: Decontest -> DeconTest, etc.Jack 02/02/94----This directory contains example shells for a "typical" processing stream:	Segyread	Cdpsort	Getcdps	Cos, Plotcos	Filtertest	Decontest	Cvstack, Plotcvstack	Nmoscan, Plotnmoscan	Velan or Velan.nmo	Dmo	Nmostack	MigThere is no such thing as a "typical" processing stream!  So, you willprobably want to change the order, repeat some things at differentstages of the processing, etc.  Furthermore, the functionality won't beexactly what you want--these shells are meant to SUGGEST the kind ofleverage you can get by using shells, not to set in concrete someparticular mode of data processing.  Finally, the shells contain somehard-wired numbers (near the top where you can see them) that have tobe changed for each particular data set.Take a look at Dmo, Nmostack and Mig first.  Dave Hale wrote theoriginal version of these and used something like them on field data.They are straightforward and more typical than some of the ornateshells I've included as imagination motivators.===> The SU User's Manual also covers the rest of this (jkc, 02/02/95)<===None of the common shells (ksh, sh or csh) admit floating point arithmetic.I really needed this for some of the shells and I recently figured outa way to do it.My trick is to call in the Unix calculator program, bc, and present data toit by using a "here" document.  Assuming that dt has been defined earlierin microseconds and you need it in seconds, in Korn shell, you'd go:		dt=$(bc -l <<-END			$dt / 1000000		END)	while in Bourne it's		dt=`bc -l <<-END			$dt / 1000000		END`	The word, END, can be replaced by any word not used inside thecalculation.  The -l calls in the floating point library,the << invokes the here document and the - following it allowsone to use tabs freely for stylistic indentation.Jack Cohen04/01/91

⌨️ 快捷键说明

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