Skip to content

Conversation

mknos
Copy link
Contributor

@mknos mknos commented Jan 31, 2025

  • GNU and OpenBSD versions support -d for 2-byte unsigned decimal and -D for 4-byte unsigned decimal
  • This versions was missing -D; it's a shortcut option for -t u4
  • The OpenBSD manual incorrectly states that -D is an octal format[1]
  • The OpenBSD source confirms the format is unsigned decimal[2]
  1. http://man.openbsd.org/od
  2. https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/hexdump/odsyntax.c?annotate=1.28 (L127)

* GNU and OpenBSD versions support -d for 2-byte unsigned decimal and -D for 4-byte unsigned decimal
* This versions was missing -D; it's a shortcut option for -t u4
* The OpenBSD manual incorrectly states that -D is an octal format[1]
* The OpenBSD source confirms the format is unsigned decimal[2]

1. http://man.openbsd.org/od
2. https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/hexdump/odsyntax.c?annotate=1.28 (L127)
@github-actions github-actions bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: od The od program labels Jan 31, 2025
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:36 — with GitHub Actions Inactive
@mknos mknos temporarily deployed to automated_testing January 31, 2025 14:37 — with GitHub Actions Inactive
@coveralls
Copy link

coveralls commented Jan 31, 2025

Pull Request Test Coverage Report for Build 13074860017

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.7%) to 73.389%

Totals Coverage Status
Change from base Build 13054078573: -0.7%
Covered Lines: 353
Relevant Lines: 481

💛 - Coveralls

@briandfoy briandfoy self-assigned this Jan 31, 2025
@briandfoy briandfoy merged commit 8bc9163 into briandfoy:master Jan 31, 2025
21 of 23 checks passed
@briandfoy
Copy link
Owner

changes: add -D option as alias for -t u4 (four digit decimals)

@briandfoy briandfoy added Status: accepted The fix is accepted Status: released there is a new release with this fix and removed Priority: low get to this whenever Status: accepted The fix is accepted labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: od The od program Status: released there is a new release with this fix Type: enhancement improve a feature that already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants