Open KELEN opened 9 months ago
https://www.kelen.cc/posts/sh-regexp-match-string
在写bash命令的时候,有时候需要操作字符串,提取匹配的内容,然而shell里面操作正则的资料比较少,所以做下记录,有两种方法
https://www.kelen.cc/posts/sh-regexp-match-string
在写bash命令的时候,有时候需要操作字符串,提取匹配的内容,然而shell里面操作正则的资料比较少,所以做下记录,有两种方法