Re: script shell ...

Page principale

Répondre à ce message
Auteur: nicolas_tripon
Date:  
CC: guilde
Sujet: Re: script shell ...
> <VirtualHost {site}>
>     ServerAdmin webmaster@{site}
>     DocumentRoot /home_www/{site}/www
>     ServerName {site}
>     ErrorLog /home_www/{site}/logs/{site}-error_log
>     CustomLog /home_www/{site}/logs/{site}-access_log common
> </VirtualHost>


echo '/^<VirtualHost/,/^<\/VirtualHost/s/{site}/{SITE}/g
wq' | ed file