KELEN / blog-comment

0 stars 0 forks source link

bash正则获取字符串 #88

Open KELEN opened 9 months ago

KELEN commented 9 months ago

https://www.kelen.cc/posts/sh-regexp-match-string

在写bash命令的时候,有时候需要操作字符串,提取匹配的内容,然而shell里面操作正则的资料比较少,所以做下记录,有两种方法