Re: Better code in mythweb.postinst

Kezdőlap

Válasz az üzenetre
Szerző: Christian Marillat
Dátum:  
Címzett: dmo-discussion
Tárgy: Re: Better code in mythweb.postinst
Guillaume Membré <guillaume.ml@???> writes:

> Hi, did you try with :
> s#\(^[ \t]*setenv[ \t]\+db_server[ \t]\+\"\)[^\"]*\"#\1$hostname\"#g;
>
> I replaced / by # for sed to tell him that # in the command separator
> and no more / problem


Yes, so easy :) Thanks.

Christian