codejnki has asked for the wisdom of the Perl Monks concerning the following question:
if you cat file1.txt you get
123
12
23
if you pull file1.txt in to vi you get
1^@2^@3
1^@2
2^@3
if i pull file1.txt in to notepad.exe you get
1 2 3
1 2
2 3
HERE'S WHAT I WANT
I would like a simple way to change this mysterious control character in to a comma so that my fil1.txt becomes
1,2,3
1,2
2,3
This is so I've got a comma delimited file (duh) and can pull it in to a spreadsheed and do all sorts of number crunching on it.
Any help would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search & Replace Revisited
by Kanji (Parson) on Oct 06, 2000 at 05:08 UTC | |
by jcwren (Prior) on Oct 06, 2000 at 05:14 UTC |