全球旧事资料 分类
stargume
tgive
tothefu
ctio
2theseco
d…body
你需要在每个脚本的开始对函数进行声明。
下面是一个名为xtitlebar的脚本,它可以改变终端窗口的名称。这里使用了一个名为help的函数,该函数在脚本中使用了两次:
bi
shvimsetsw4ts4ethelpcatHELPxtitlebarcha
gethe
ameofa
xtermg
ometermi
alorkdeko
soleUSAGExtitlebarh“stri
g_for_titelbar”OPTIONShhelptextEXAMPLExtitlebar“cvs”HELPexit0i
caseoferrororifhisgive
wecallthefu
ctio
helpz
好听全球资料 返回顶部