News for hackers. Stuff that matters.
Re:Self-Documented Makefile by vog on Tuesday March 01, 2016 @03:15AM (#11201397)
But this is yet another anti-pattern: Having different behaviour depending on whether it's an interactive shell or not.

A big offender here is CURL, where this affects the verbosity during download. This is especially frustrating with regard to automation.

1. You type by hand, everything works.

2. You copy&paste into the command line, and everything works.

3. You run it from a script, and it behaves differently.

There are no comments on this comment yet.