* Sami Kerola <kerolasa@xxxxxx> [200623 13:17]: > On Tue, 23 Jun 2020 at 01:15, Chris Hofstaedtler <zeha@xxxxxxxxxx> wrote: > > > > When invoking hexdump as hd enable the "Canonical" format to by > > default, implying the -C option. > > > > This is historic behaviour on Debian and apparently also on FreeBSD. > > Some Debian users have asked for this to be restored, after Debian > > switched to util-linux' hexdump and hd. > > Wouldn't it make more sense to add an alias to a global profile? > > alias hd='hexdump -C' That's not scalable on Debian given the number of shells we ship. Also, util-linux already has a number of binaries that modify their behaviour depending on the name they are invoked as. FreeBSD has this here: https://github.com/freebsd/freebsd/blame/master/usr.bin/hexdump/hexsyntax.c#L59 And supports it for over 24 years; I believe Debian shipped with this support since basically forever, too. Chris