hi all,
i have a file with commas(,). i want to replace all the commas with tab(\t).
Plz help...its urgent...
hi all,
i have a file with commas(,). i want to replace all the commas with tab(\t).
Plz help...its urgent...
awk 'BEGIN { FS=","; OFS=" " }
{print $0}' input
sed 's/,/\t/g' filename
see if that helps.
Try tr command
echo $var | tr ',' '\t'