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

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

Re: [shell-script] Substituir valores em um arquivo


From: Eliphas Levy Theodoro
Subject: Re: [shell-script] Substituir valores em um arquivo
Date: Fri, 28 Dec 2001 15:33:42 -0200 (BRST)

Eliphas Levy Theodoro, @ 15:32:

> Levando em conta a barra invertida no final das linhas, dá pra fazer:
>
> /<propriedade>/,/[^\]/ s/../../
>
> Aí quando não tiver a barra invertida, ele para.

/<propriedade>/,/[^\]$/ s/../../

Comi o $ de fim-de-linha, desculpem. Sabe como é, tou em fase de
crescimento ainda.

-- 
Eliphas

Anyone sending unsolicited bulk email (UBE, SPAM) to this address will
be charged a $25 handling fee plus a $5 network traffic fee per
started kilobyte. By extracting my address from this message or its
header, you agree to these terms.
Nevertheless, spammers trying to auto-extract addresses from this
message will definitely want to include address@hidden, address@hidden,
and address@hidden



reply via email to

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