[Linux-Biella] Sed

CIARROCCHI, Paolo, VF-IT linux@ml.bilug.linux.it
Thu, 5 Feb 2004 11:53:11 +0100


From: Claudio M. [mailto:cmaffio@bilug.linux.it] 

> On Thu, 5 Feb 2004 11:20:15 +0100
> "CIARROCCHI, Paolo, VF-IT" <Paolo.CIARROCCHI@vodafone.com> wrote:
> 
> > bash-2.05$ sed s/uno/`printf "unoooooo\t1"`/ pippo.txt
> 
> forse dico una sciocchezza ma fare
> sed s/uno/unoooooo\t1/ pippo.txt
> non funziona????

Purtroppo no:
bash-2.05$ cat pippo.txt
a uno
b due
c tre

bash-2.05$ sed s/"a uno"/a\t1/ pippo.txt
at1
b due
c tre


		Paolo