shell的替换运算符和模式匹配运算符
摘要:shell 的替换运算符和模式匹配运算符 替换运算符: (1) ${varname:-word} :如果varname存在且非null,则返回其值;否则,返回word。 (2) ${varname:=word} :如果varname存在且非null, 则返回其值,否则,设置其为word并返回。 (3
阅读全文
posted @ 2016-09-29 22:03
posted @ 2016-09-29 22:03
posted @ 2016-09-11 14:13
posted @ 2016-09-10 16:05
posted @ 2016-09-09 21:44
posted @ 2016-09-07 22:30