fork(1) download
  1. #!/bin/bash
  2. s='...
  3. ABC Sys, INC.:0001111111:
  4. ABC Systems INC:0001111112:
  5. ... '
  6.  
  7. search="abc sys inc";
  8. grep -E -i "${search// /[^[:alnum:]]+}" <<< "$s"
Success #stdin #stdout 0s 4500KB
stdin
Standard input is empty
stdout
ABC Sys, INC.:0001111111: