fork download
  1. #!/bin/bash
  2. s="Col1,Col2,Col3,Col4
  3. 1,AAA,1,
  4. 2,BBB,0,
  5. 3,CCCÆ,,ttt
  6. 4,DDD,1,
  7. 5,EEE,0,"
  8.  
  9. grep -P '[^\x20-\x7E]+' <<< "$s"
Success #stdin #stdout 0s 4312KB
stdin
Standard input is empty
stdout
3,CCCÆ,,ttt