$ (echo xxx && yes yyy | sed 100000q && printf '\0') >big $ grep xxx big xxx Binary file big matches
The last line should not be output. I'll look into fixing this.
$ (echo xxx && yes yyy | sed 100000q && printf '\0') >big $ grep xxx big xxx Binary file big matches
The last line should not be output. I'll look into fixing this.