3
0

sed-branch-conditional-inverted 106 B

1234567891011121314
  1. busybox sed 's/a/1/;T notone;p;: notone;p'>output <<EOF
  2. a
  3. b
  4. c
  5. EOF
  6. cmp -s output - <<EOF
  7. 1
  8. 1
  9. 1
  10. b
  11. b
  12. c
  13. c
  14. EOF