Gary Benson: sed trick
2020-04-22 17:50:36 Author: gbenson.net(查看原文) 阅读量:37 收藏

{ 2020 04 22 }

sed trick

I discovered a new sed trick today:

sed -i~

“I” stands for “in place”. It edits the files in place! And makes a backup if you want!

Posted by gbenson on Wednesday, April 22nd, 2020, at 08:50, and filed under bash, sed, shell, Snippets.

Follow any responses to this entry with the RSS 2.0 feed.

You can post a comment, or trackback from your site.


文章来源: https://gbenson.net/?p=804
如有侵权请联系:admin#unsafe.sh