📜  sed 子组模式替换 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:37.990000             🧑  作者: Mango

代码示例1
sed -E "s/(.*)\.png/\/full\/path\/\1/g" <<< "lolsed_bulsh.png"
# output is 
# /full/path/lolsed_bulsh