zaqwsxcde has asked for the wisdom of the Perl Monks concerning the following question:
Hello again, sorry for a similar question, but somehow I can't make it working:
I need now to replace all instances of comma to TAB
I have tried the following:
perl -pe 's/\,/ /' input.txt > output.txt perl -pe 's/\,/\t/' input.txt > output.txt perl -pe 's/,/\t/' input.txt > output.txt
But it does not work. Could you please advise again? Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replace comma with tab
by choroba (Cardinal) on Apr 05, 2015 at 14:46 UTC | |
| |
|
Re: Replace comma with tab
by NetWallah (Canon) on Apr 05, 2015 at 15:08 UTC | |
by zaqwsxcde (Initiate) on Apr 05, 2015 at 15:15 UTC | |
by Laurent_R (Canon) on Apr 05, 2015 at 17:15 UTC | |
|
Re: Replace comma with tab
by GrandFather (Saint) on Apr 05, 2015 at 20:50 UTC |