fork(2) download
  1. #!/bin/bash
  2. s='id, date of birth, grade, explusion, serious misdemeanor
  3. 123,2005-01-01,5.36,1,1
  4. 582,1999-05-12,8.51,0,1
  5. 9274,2001-25-12,9.65,0,0
  6. 21,2006-14-05,0.53,4,1'
  7. sed '/,0,0$/d' <<< "$s"
Success #stdin #stdout 0.01s 5540KB
stdin
Standard input is empty
stdout
id, date of birth, grade, explusion, serious misdemeanor
123,2005-01-01,5.36,1,1
582,1999-05-12,8.51,0,1
21,2006-14-05,0.53,4,1