runit

来自「UNIX+shell范例精解(第4版)代码」· 代码 · 共 14 行

TXT
14
字号
#!/bin/csh -f# This script is called runit. # It loops through a list of files passed as# arguments.foreach arg  ($*)	if ( -e $arg ) then	# ...         Program code continues here 		else	# ...         Program code continues here 	endif  endecho "Program continues here"

⌨️ 快捷键说明

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