Title: Exit codes for `diff` command don't match GNU implementation · Issue #17 · uutils/diffutils · GitHub
Open Graph Title: Exit codes for `diff` command don't match GNU implementation · Issue #17 · uutils/diffutils
X Title: Exit codes for `diff` command don't match GNU implementation · Issue #17 · uutils/diffutils
Description: The current implementation of main will always result in an exit code of 0, except when an error is raised, in which case the exit code will be 1. GNU's implementation differs. Quoting the documentation: An exit status of 0 means no diff...
Open Graph Description: The current implementation of main will always result in an exit code of 0, except when an error is raised, in which case the exit code will be 1. GNU's implementation differs. Quoting the document...
X Description: The current implementation of main will always result in an exit code of 0, except when an error is raised, in which case the exit code will be 1. GNU's implementation differs. Quoting the docu...
Opengraph URL: https://github.com/uutils/diffutils/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exit codes for `diff` command don't match GNU implementation","articleBody":"The current implementation of `main` will always result in an exit code of 0, except when an error is raised, in which case the exit code will be 1.\r\n\r\nGNU's implementation differs. Quoting [the documentation](https://www.gnu.org/software/diffutils/manual/html_node/Invoking-diff.html):\r\n\r\n\u003e An exit status of 0 means no differences were found, 1 means some differences were found, and 2 means trouble.","author":{"url":"https://github.com/oSoMoN","@type":"Person","name":"oSoMoN"},"datePublished":"2024-02-21T21:42:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/17/diffutils/issues/17"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:48076e37-77b9-d9de-7d51-517c27812ae5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C094:D7451:850377:B3656E:6A4D4901 |
| html-safe-nonce | 66a4a48d334547ff4fc4e11335f537b8fa2d8a93a60e6c16a17ba63524573dcb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDk0OkQ3NDUxOjg1MDM3NzpCMzY1NkU6NkE0RDQ5MDEiLCJ2aXNpdG9yX2lkIjoiMTY3NjgzODg4NzIxOTg3NDA0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3bb8e8b0b047e7bb3dd9eb24fbd708765e69975c51f3f5f5a5f37b833a350fe3 |
| hovercard-subject-tag | issue:2147762926 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/uutils/diffutils/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/508ece038fc3367232d988129dba97204692f63d5de65c81abd0dae108ee0882/uutils/diffutils/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/508ece038fc3367232d988129dba97204692f63d5de65c81abd0dae108ee0882/uutils/diffutils/issues/17 |
| og:image:alt | The current implementation of main will always result in an exit code of 0, except when an error is raised, in which case the exit code will be 1. GNU's implementation differs. Quoting the document... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oSoMoN |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/uutils/diffutils git https://github.com/uutils/diffutils.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 341787720 |
| octolytics-dimension-repository_nwo | uutils/diffutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 341787720 |
| octolytics-dimension-repository_network_root_nwo | uutils/diffutils |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width