#583259 /bin/fail: symlink to /bin/echo, writing to stderr and exiting non-zero

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
martin f krafft
Date:
2010-05-26 17:18:05 UTC
Severity:
wishlist
#583259#5
Date:
2010-05-26 17:14:41 UTC
From:
To:
It would be really useful to have /bin/fail, which could just be
a symlink to /bin/echo and would cause it to print to stderr instead
of stdout, and to exit non-zero.

/bin/warn, OTOH, could write to stderr, but not alter the exit code.