Skip to content

gbenson.net

Category: sed

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!

gbenson bash, sed, shell, Snippets 1 Comment Wednesday 22nd April 2020Wednesday 22nd April 2020 1 Minute
Proudly powered by WordPress | Theme: Independent Publisher 2 by Raam Dev.