fork download
  1. /hello/{found_hello=1;next} found_hello || /bar/{print;found_hello=""}
Success #stdin #stdout 0s 4388KB
stdin
hello foo
needed
bar
blah
blah
bar
hello foo
needed
bar
blah
hello foo
needed
hello foo
needed
bar
blah
stdout
needed
bar
bar
needed
bar
needed
needed
bar