fork(1) download
  1. #!/bin/bash
  2. s='43.65 24.0 889.5 5.0
  3. 32.14 32.0 900.0 6.0
  4. 38.27 43.0 899.4 5.0'
  5. sed -E 's,([0-9])\.0($| ),\1\2,g' <<< "$s"
Success #stdin #stdout 0.01s 5484KB
stdin
Standard input is empty
stdout
43.65 24 889.5 5
32.14 32 900 6
38.27 43 899.4 5