[tt]
# input file
100.21.56.222.22
100.22.56.222.24
100.23.56.222.370
100.24.56.222.2390
server33.22
server45.670
# desired ouput
100.21.56.222,22
100.22.56.222,24
100.23.56.222,370
100.24.56.222,2390
server33,22
server45,670
How do I go about substituting the final "." (dot) to a comma in the above input file ?
[/tt]
# input file
100.21.56.222.22
100.22.56.222.24
100.23.56.222.370
100.24.56.222.2390
server33.22
server45.670
# desired ouput
100.21.56.222,22
100.22.56.222,24
100.23.56.222,370
100.24.56.222,2390
server33,22
server45,670
How do I go about substituting the final "." (dot) to a comma in the above input file ?
[/tt]