fork download
  1. #!/bin/sh
  2.  
  3. STRING=$(cat<<DATA
  4. MOS-LCNB:1.23
  5. MOS-LCNB:1.41
  6. MOS-LCNB:1.83
  7. MOS-LCNB:100.0
  8. MOS-LCNB:1.19
  9. MOS-LCNB:1.39
  10. MOS-LCNB:100.0
  11. MOS-LCNB:100.0
  12. DATA
  13. )
  14.  
  15. echo "$STRING" | grep 'MOS-LCNB:1\.'
Success #stdin #stdout 0s 5032KB
stdin
Standard input is empty
stdout
MOS-LCNB:1.23
MOS-LCNB:1.41
MOS-LCNB:1.83
MOS-LCNB:1.19
MOS-LCNB:1.39