How to replace a whole line with sed?

后端 未结 6 1788
故里飘歌
故里飘歌 2020-12-07 10:59

Suppose I have a file with lines

aaa=bbb

Now I would like to replace them with:

aaa=xxx

I can do that as follows:

sed \"s         


        
6条回答
提交回复
热议问题