Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926091 - sys-apps/util-linux-2.39.3-r2: hexdump(1) mentions hd, but there is no hd -> hexdump symlink
Summary: sys-apps/util-linux-2.39.3-r2: hexdump(1) mentions hd, but there is no hd -> ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-03 12:36 UTC by Ulrich Müller
Modified: 2024-03-05 15:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2024-03-03 12:36:31 UTC
According to v2.37-ReleaseNotes:

   Release highlights
   ------------------
   [...]
   hexdump(1) automatically uses -C when called as "hd".
   [...]

   Changes between v2.36 and v2.37
   -------------------------------
   [...]
   hexdump:
      - add "hd" program name to man page  [Chris Hofstaedtler]
      - automatically use -C when called as hd  [Chris Hofstaedtler]
   [...]

The hd program name is also documented in the hexdump(1) manpage, which says for the -C, --canonical option: "Invoking the program as hd implies this option."

I suggest to install a /usr/bin/hd -> hexdump symlink. According to pfl this shouldn't cause any collisions.

Alternatively, text-utils/hexdump.1.adoc should be patched so that it doesn't mention hd.
Comment 1 Larry the Git Cow gentoo-dev 2024-03-05 15:44:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daee7b2891e51fc218016d7363b654276c15d86e

commit daee7b2891e51fc218016d7363b654276c15d86e
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2024-03-05 12:17:16 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2024-03-05 15:40:05 +0000

    sys-apps/util-linux: Allow hexdump to be invoked as hd
    
    hexdump(1) automatically uses -C when called as "hd".
    
    Closes: https://bugs.gentoo.org/926091
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 sys-apps/util-linux/util-linux-2.39.3-r3.ebuild | 411 ++++++++++++++++++++++++
 sys-apps/util-linux/util-linux-9999.ebuild      |   3 +
 2 files changed, 414 insertions(+)