Dear Gurus
Can you please advise me on how to Replace all TAB characters with white spaces in a text file in AIX?
Either using vi or any utilities
Dear Gurus
Can you please advise me on how to Replace all TAB characters with white spaces in a text file in AIX?
Either using vi or any utilities
$ nawk '{sub(/^[ \t]+/," ")};1' infile
here's my two cents :
$ tr "\t" " " < infile > outfile
( infile has TABs ; outfile has SPACEs )
good luck, and success !
alexandre botao