Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Similar to grep command, exit code 0 means at least one match occurred when looking at input files * Unlike grep, exit code 1 is shared between no-match and error conditions (e.g. file could not be opened) [1] * Continue to bail on the 1st open() failure, but now go through exit() instead of die() * Difference discovered when testing against OpenBSD version 1. https://pubs.opengroup.org/onlinepubs/009696799/utilities/what.html
- Loading branch information