shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Apanhando com script


From: Bruno Gunter
Subject: Re: [shell-script] Apanhando com script
Date: Mon, 31 Aug 2009 11:47:35 -0300

Basicamente:

sed -i 's/<% pageTitle = "TÍTULO DA PÁGINA" %>/TÍTULO DA PÁGINA/g' *.asp

On Sun, 2009-08-30 at 18:49 +0000, tche_renato wrote:
>   
> PessoALL,
> 
> Eu sei que pra vocês deve ser algo simples, mas estou apanhado pra
> conseguir fazer o que preciso.
> 
> Eu tenho centenas de arquivos com esta estrutura:
> --------------------------------------------------------
> <%@ LANGUAGE="VBSCRIPT" %>
> <% pageTitle = "TÍTULO DA PÁGINA" %>
> 
> <HTML> 
> <HEAD> 
> <TITLE><%= pageTitle %></TITLE>
> --------------------------------------------------------
> Acontece que preciso substituir a string %= pageTitle % pelo que está
> entre aspas TÍTULO DA PÁGINA.
> 
> Como fazer isso?
> 
> []'s
> Renato
> 
> 
> 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]