fork download
  1. #!/bin/bash
  2. s='1.15.2.119
  3. 1.15.86.33
  4. 1.15.251.60
  5. 1.20.178.145/31
  6. 1.37.33.24
  7. 1.54.202.216
  8. 1.58.10.126/28
  9. 1.80.225.84
  10. 1.116.240.174/30'
  11.  
  12. sed '\,/,!s,$,/32,' <<< "$s"
Success #stdin #stdout 0.01s 5464KB
stdin
Standard input is empty
stdout
1.15.2.119/32
1.15.86.33/32
1.15.251.60/32
1.20.178.145/31
1.37.33.24/32
1.54.202.216/32
1.58.10.126/28
1.80.225.84/32
1.116.240.174/30