Edit command 'sed' for database config