fork download
  1. #!/bin/bash
  2. s='test1:
  3. test2:true
  4. tool3:
  5. tool4:false'
  6. sed -n '/:./p' <<< "$s"
  7. awk '/:./' <<< "$s"
Success #stdin #stdout 0.01s 5516KB
stdin
Standard input is empty
stdout
test2:true
tool4:false
test2:true
tool4:false