fork download
  1. #!/bin/bash
  2.  
  3. grep --version
  4.  
  5. echo 'Parse error blah blah blah' | grep "^[Parse error|Fatal error]"
  6. echo 'Fatal error blah blah blah' | grep "^[Parse error|Fatal error]"
  7. echo 'Something Something Parse error blah blah blah' | grep "^[Parse error|Fatal error]"
  8. echo 'Something Something Fatal error blah blah blah' | grep "^[Parse error|Fatal error]"
  9.  
Runtime error #stdin #stdout 0s 4428KB
stdin
Standard input is empty
stdout
grep (GNU grep) 3.3
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://g...content-available-to-author-only...u.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
<https://g...content-available-to-author-only...u.org/cgit/grep.git/tree/AUTHORS>.
Parse error blah blah blah
Fatal error blah blah blah