On 2014-02-09 11:03:13 +0000, Rob wrote:
> Regarding EXIT_SUCCESS, I think this is perhaps a bit picky, 0 is
> perfectly fine and besides, every non-trivial shell script hard codes
> stdout and stderr: 2>&1.
Eh, it probably doesn't matter. It was more a small comment about
portability to "unknown" systems. In C++, 0 and EXIT_SUCCESS are exactly
equivalent (which could potentially be very confusing on some esoteric
systems).
Of course, I can't remember any of those esoteric systems off the top of
my head. :-)
- application/pgp-signature attachment: stored
Received on Sun Feb 09 2014 - 12:15:51 CET