sed replace string (w. regex) in text / sql file

Submitted by Gast (nicht überprüft) on Mo, 12/07/2020 - 02:42

Replace barlin and burlin with berlin in db_2021.sql:



sed -i -E "s/([a-z0-9_\-]+)\.(barlin|burlin)/\1.berlin/g" db_2021.sql


 

Neuen Kommentar schreiben

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.