8

Linux command line that will fail if any standard out is produced

view full story
linux-howto

http://unix.stackexchange.com – Is there a simple utility which I can pipe output to on Linux that will: Return a success code if there is no output on standard out (and / or standard error). Return a failure code if output is produced on standard out (and / or standard error). To provide some context, the command I'm running is: svn mergeinfo --show-revs eligible http://mysvnserver.example.com/SVF/repos/common/abc/branches/abc-1.7 http://mysvnserver.example.com/SVF/repos/common/abc/trunk If there are any unmerged entries on the branch, the command will return a list of revision numbers on standard out. Ideally, the a (HowTos)