原书出处
架构师之路
一分钟系列 74 一分钟sed入门(一分钟系列)
30 命令:s 将匹配行替换
详细命令为:s/pattern-to-find/replacement-pattern/g pattern-to-find:被替换的串 replacement-pattern:替换成这个串 g:全部替换,默认只替换匹配到的第一个
示例(5)讲100替换为hello sed 's/100/hello/g'
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/架构师之路/_epub-src/OEBPS/Text/74.html
EPUB SHA-256:4100ac3842d14329f21b43564e3e688d311e568d9632d37709b1e1416f68548b