How to enclose every line in a file in double quotes with sed?

后端 未结 4 1574
鱼传尺愫
鱼传尺愫 2021-02-02 09:21

This is what I tried: sed -i \'s/^.*/\"$&\"/\' myFile.txt

It put a $ at the beginning of every line.

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