perl -pe 's/\,/ /' input.txt > output.txt perl -pe 's/\,/\t/' input.txt > output.txt perl -pe 's/,/\t/' input.txt > output.txt