fork(4) download
  1. set a "10.20.30.40"
  2. regsub {\.([0-9]+)\.([0-9]+)\.} $a {.\2.\1.} b
  3. puts $b
Success #stdin #stdout 0s 15904KB
stdin
Standard input is empty
stdout
10.30.20.40