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

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

sed-incluir palavra antes e depois de uma string


From: lferreir1
Subject: sed-incluir palavra antes e depois de uma string
Date: Thu, 22 Sep 2005 14:39:07 -0000
User-agent: eGroups-EW/0.82

Olá pessoal,

Tenho um arquivo texto, onde preciso incluir uma palavra antes depois 
de uma determinada string.
Ex.:
cat teste.txt
teste
teste1
teste2/
teste3
teste4/

Quero:
teste
teste1
comeco_teste2_final
teste3
comeco_teste4_final

Consegui incluir somente no fianl, porém o comeco não consegui.

Grato pela ajuda.
Luiz





reply via email to

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