11

Do you know why you should never use grep when working with XML?

$ grep packet/> final.pdml
> *shit, that takes too long, ctrl+c*
$ du final.pdml
> 0 final.pdml

That's why.

Comments
  • 6
    Because working with XML is terrible and you should avoid it altogether? Yeah...
  • 2
    But oof. That's a painful mistake.
  • 3
    That's why I always put quotes around search terms, even if I don't need to.
Add Comment