I have a text file looking like this:
(-9.1744438E-02,7.6282293E-02) (-9.1744438E-02,7.6282293E-02) ... and so on.
I would like to modify th
I would use tr for this job:
tr
cat in_file | tr -d '()' > out_file
With the -d switch it just deletes any characters in the given set.
-d
To add new lines you could pipe it through two trs:
cat in_file | tr -d '(' | tr ')' '\n' > out_file