如何利用sed命令,在多个.h文件中的指定字符串如“Helloworld”后添加多行内容?

2025-03-24 01:07:20
推荐回答(1个)
回答1:

sed '/Helloworld/a\
多行内容
'