GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Exit codes for `diff` command don't match GNU implementation · Issue #17 · uutils/diffutils

Exit codes for diff command don't match GNU implementation #17

New issue
Copy link
New issue
Copy link
Closed
Closed
Exit codes for diff command don't match GNU implementation#17
Copy link

Description

@oSoMoN
oSoMoN
opened on Feb 21, 2024
Issue body actions

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 differences were found, 1 means some differences were found, and 2 means trouble.

Activity

  1. oSoMoN
    added a commit that references this issue on Feb 21, 2024

    Match GNU diff's implementation for exit codes (fixes uutils#17)

    This issue will close once commit 5090263 is merged into the 'main' branch.
    5090263
  2. sylvestre
    closed this as completedin 1241db4on Feb 22, 2024
  3. oSoMoN
    added a commit that references this issue on Feb 22, 2024

    Match GNU diff's implementation for exit codes (fixes uutils#17)

    This issue will close once commit 1241db4 is merged into the 'main' branch.
    1241db4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.