ZhangZhihui's Blog  

2023年5月19日

摘要: $>var=abcabc123 $>echo ${var#*b} cabc123 $>echo ${var##*b} c123 $>echo ${var%b} abcabc123 $>echo ${var%b*} abca $>echo ${var%%b*} a 阅读全文
posted @ 2023-05-19 14:10 ZhangZhihuiAAA 阅读(184) 评论(0) 推荐(0) 编辑
 
摘要: Introduction In Bash, parameter expansion is a feature that allows you to manipulate the value of a variable or to extract part of its value using a s 阅读全文
posted @ 2023-05-19 13:51 ZhangZhihuiAAA 阅读(21) 评论(0) 推荐(0) 编辑