fork download
  1. #!/bin/bash
  2. s="2 0 'C001000'
  3. 2 26 'C001000' So we come to step 3
  4. 2 0 'C001000'
  5. 2 26 'C001000' So we come to step 3"
  6. grep -P '^2(?!\t26\b)' <<< "$s"
Success #stdin #stdout 0.01s 5368KB
stdin
Standard input is empty
stdout
2	0	'C001000'
2	0	'C001000'