formatting lines in a particular fashion

i have some 100 of lines from a script o/p into a file called naveed.txt
below some of the lines:

1-GH32X, CC, AMR, Number of Intervals Not Inserted: 1 / 95
1-150KP1, CC, AMR, Number of Intervals Not Inserted: 1 / 96
1-VWEMR, CC, AMR, Number of Intervals Not Inserted: 1 / 98
1-15HM1A, CC, AMR, Number of Intervals Not Inserted: 1 / 99
1-153PIV, CC, AMR, Number of Intervals Not Inserted: 3 / 99
1-M7U4D, CC, AMR, Number of Intervals Not Inserted: 1 / 229
1-14ZL4V, CC, AMR, Number of Intervals Not Inserted: 1 / 96
----------------------------------------------------------------------

Actually my requirement is to get these line in the below fashion

1-GH32X|CC|AMR|Number of Intervals Not Inserted: 1 / 95
1-150KP1|CC|AMR|Number of Intervals Not Inserted: 1 / 96
1-VWEMR|CC|AMR|Number of Intervals Not Inserted: 1 / 98
1-15HM1A|CC|AMR|Number of Intervals Not Inserted: 1 / 99
1-153PIV|CC|AMR|Number of Intervals Not Inserted: 3 / 99
1-M7U4D|CC|AMR|Number of Intervals Not Inserted: 1 / 229
1-14ZL4V|CC|AMR|Number of Intervals Not Inserted: 1 / 96

Any help will be appreciated. thanks in advance

Its very easy thing use tr command to do that.

i tried using the below command

cat naveed.txt | head -1 | tr ',' '|'

1-GH32X| CC| AMR| Number of Intervals Not Inserted: 1 / 95
1-150KP1| CC| AMR| Number of Intervals Not Inserted: 1 / 96
1-VWEMR| CC| AMR| Number of Intervals Not Inserted: 1 / 98
1-15HM1A| CC| AMR| Number of Intervals Not Inserted: 1 / 99
1-153PIV| CC| AMR| Number of Intervals Not Inserted: 3 / 99
1-M7U4D| CC| AMR| Number of Intervals Not Inserted: 1 / 229
1-14ZL4V| CC| AMR| Number of Intervals Not Inserted: 1 / 96
1-GULWX| CC| AMR| Number of Intervals Not Inserted: 1 / 96
1-MV44L| CC| AMR| Number of Intervals Not Inserted: 1 / 96

----------------------------------------------------------------------

but getting spaces after |

geting o/p:

1-GH32X| CC| AMR| Number of Intervals Not Inserted: 1 / 95

desired:

1-GH32X|CC|AMR|Number of Intervals Not Inserted: 1 / 95

Tyr this ...

sed 's/\, /\|/g' naveed.txt

thanks with sed cmd it working fine. i just want it to tune it more

with cmd: sed 's/\, /\|/g' naveed.txt

o/p:

1-GH32X|CC|AMR|Number of Intervals Not Inserted: 1 / 95

how to achive this with some thing in the above sed cmd

1-GH32X|CC|AMR|Number of Intervals Not Inserted:1/95

Try this ...

sed -e 's/\, /\|/g' -e 's/\ \/\ /\//g' naveed.txt