hello all,
i have a comma delimited file.
i want to replace the commas in the file with the tilde symbol using sed.
how can i do this?
thanks.
sed 's/,/~/g' input_file > temp_file && mv temp_file input_file
or using perl:
perl -p -i -e 's/,/~/g' input_file
jean-Pierre.
sed 's/,/~/g' filename > newfile
.... unless you have embedded commas.
sed -e 's/,/~/g' filename