Public bug reported:
Binary package hint: bsdmainutils
Ubuntu 8.04 / Ubuntu 8.10
bsdmainutils 6.1.10ubuntu2
Expected: When given a custom format string, that form is used instead.
Actual: When invoked by the name 'hd' and given a custom format string (even
one of the builtins like with -c, -b, -C (which is default!)), the specified
format is display as well as (after) the requested format.
Invokation as "hexdump" works as expected.
Results.
$ ls -l /usr/bin/hd
lrwxrwxrwx 1 root root 7 2009-01-01 11:13 /usr/bin/hd -> hexdump
$ cat /proc/version
Linux version 2.6.27-11-generic (bui...@vernadsky) (gcc version 4.3.2 (Ubuntu
4.3.2-1ubuntu11) ) #1 SMP Wed Apr 1 20:57:48 UTC 2009
$ cat /proc/version|hd -C|head -n4
00000000 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 32 2e |Linux version 2.|
00000000 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 32 2e |Linux version 2.|
00000010 36 2e 32 37 2d 31 31 2d 67 65 6e 65 72 69 63 20 |6.27-11-generic |
00000010 36 2e 32 37 2d 31 31 2d 67 65 6e 65 72 69 63 20 |6.27-11-generic |
$ cat /proc/version|hd -c|head -n4
00000000 4c 69 6e 75 78 20 76 65 72 73 69 6f 6e 20 32 2e |Linux version 2.|
0000000 L i n u x v e r s i o n 2 .
00000010 36 2e 32 37 2d 31 31 2d 67 65 6e 65 72 69 63 20 |6.27-11-generic |
0000010 6 . 2 7 - 1 1 - g e n e r i c
** Affects: bsdmainutils (Ubuntu)
Importance: Undecided
Status: New
--
hexdump invoked as hd prints extra
https://bugs.launchpad.net/bugs/363201
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs