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 阅读全文
摘要:
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 阅读全文
|
Copyright © 2025 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |