Linux : How to replace words in files only on lines containing an expression

后端 未结 0 564
清歌不尽
清歌不尽 2020-12-01 15:20

I would like to replace in all the files contained in a directory (including subdirectories), the \'/foo/\' expression by \'/foo/bar/\' but only on lines that contain \'.mod

相关标签:
回答
  • 消灭零回复
提交回复
热议问题