${0##*/} ${0#*/} ${0%/*} ${0%%/*} Posted on 2018年6月19日2018年6月19日 by 阿勇 Linux 的字符串截取很有用。有八种方法。 假设有变量 var=http://www.aaa. […] Continue reading...