Wrong documentation for 'od'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Triaged
|
Low
|
Ubuntu French Translators | ||
coreutils |
Invalid
|
Low
|
|||
coreutils (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: coreutils
The documentation from
od --help
and from
man od
diverge on the short name for the --string option.
od --help says:
-s, --strings[=BYTES]
(note the lowercase -s)
man od says:
-S, --strings[=BYTES]
(note now it is uppercase -S)
The right documentation for this option is the one in the 'man', because the desired featured is indeed achieved through -S (uppercase).
Thus od --help displays wrong informations and should be corrected.
(Probably upstream ?)
I discovered that trying to port a script I wrote for Lucid to a BusyBox running on a NAS.
Unfortunately the guys at BusyBox programmed as it is documented in the --help, and thus BusyBox's od and GNU's od have diverging features.
... nasty trick GNU guys have plaid to BusyBox, and they should probably be warned (if they don't already know because I have to cope with an old BusyBox).
Changed in ubuntu-translations: | |
assignee: | nobody → Ubuntu French Translators (ubuntu-l10n-fr) |
status: | New → Confirmed |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
tags: |
added: i18n removed: i10n |
tags: |
added: l10n removed: i18n |
Changed in coreutils (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in coreutils: | |
importance: | Unknown → Low |
status: | Unknown → Invalid |
Thank you for opening this bug and helping make Ubuntu better. Unfortunately you did not specify what version of Ubuntu (and of coreutils) you are using, which makes it a bit more difficult to pinpoint your issue.
Nevertheless, I went ahead and checked Lucid (since, in your description, you refer to Lucid):
ubuntu@cempedak:~$ lsb_release -a gnu.org/ licenses/ gpl.html>.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
ubuntu@cempedak:~$ od --version
od (GNU coreutils) 7.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jim Meyering.
ubuntu@cempedak:~$ od --help | grep strings
-S, --strings[=BYTES] output strings of at least BYTES graphic chars
ubuntu@cempedak:~$
From 'man od' I see:
-S, --strings[=BYTES]
output strings of at least BYTES graphic chars
So, at least on Lucid, this is not an issue. So, without more details from you, I do not see this issue.
Also, the full documentation for any coreutils utility is provided as an 'info' page; '--help' and 'man' are summarised (in fact, the 'man' entries are generated _from_ the ' --help').
Finally, I fail to see why this would be a trick -- even more a nasty one -- played by upstream coreutils on any one. Bugs happen.
Marking Incomplete/Low