Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ideed. I've seen people over and over stumbling over this weird behaviour.

It may have some merits, but as a general advice this is definitely an anti-pattern.

Another example is "curl", where "curl URL >outfile" is chatty on stderr, while "curl URL" is quiet on stderr. That's very annoying for scripting, you easily forget to set "-s" in your scripts due to that behaviour.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: