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

Re: bash Aiuto su Comando sed



debian@email.it ha scritto:

come posso utilizzare il comando *sed *per ottenere quello che desidero?
#cat filenew.txt |cut -d "'" -f 2| sed /s/ecc ecc.

Prova con

sed 's/\([0-9]*\)-\([0-9]*\)-\([0-9]*\)/\1-\3-\2/' tuofile

--
Kind regards,
                                                          Marco Romano.






Reply to: