I'm trying to use sed to edit a config file. There are a few lines I'd like to change. I know that under Linux sed -i
allows for in place edits but it requires you save to a backup file. However I would like to avoid having multiple backup files and make all my in place changes at once.
Is there a way to do so with sed -i
or is there a better alternative?