tab to csv command line

Shell
$ echo "hello   world" | tr "\\t" ","

hello,world

Source

Also in Shell: