IPS parameter include diff IP address as:IPS=192.9.200.12-14 172.17.200.12-89 12.21.1.10-25 127.0.0.1-127I want to replace the third . In the IP address number to ,How to achieve this by sed or awk ?Example:echo $IPS | sed ..the requested output192.9.200,12-14 172.17.200,12-89 12.21.1,10-25 127.0.0,1-127
How to replace the third character in number to other character
sed;awk