sed with tabulation

Hi! :wink:

I have a file:
122 10/11/04
123 10/11/04
124 10/11/04
126 10/11/04
127 10/11/04
130 10/11/04
131 10/11/04
132 10/11/04
133 10/11/04

Between the number and the date I have a tabulation.
I want replace the tabulation with ;

I have tried :

cat file|sed 's/"\t"/;/g'

and it is not OK....???:confused:
Could you help me please?

Thinks for all

Use "tr"

tr '\t' ';' < foofile

Cheers
ZB

It is ok!!!

Thanks you zazzybob!

:slight_smile:

do some thing like this ...

where enter 'tab' by press Ctrl-V then Ctrl-I

sed 's/ /;/g' file
122;10/11/04
123;10/11/04
124;10/11/04
126;10/11/04
127;10/11/04
130;10/11/04
131;10/11/04
132;10/11/04
133;10/11/04