need to replace spaces with comma (ascii file) - DONE!
i have a 40 MB ascii file, with millions of numerical characters.
i needed to change it`s format,replacing the spaces in it with a ; or , or even |
Ex.:
3.36700000 -0.29860000 3.13370000 179 179 179
to
3.36700000;-0.29860000;3.13370000;179;179;179
Does any one know a simple script to speed up the process? Something in bash would do it...
Thanks
Last edited by ferradura; 02-02-2007 at 06:29 PM.
|