Bug 1011892
| Summary: | Incomplete man page for iconv | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jakub Prokes <jprokes> |
| Component: | man-pages-overrides | Assignee: | Jan Chaloupka <jchaloup> |
| Status: | CLOSED ERRATA | QA Contact: | Iveta Wiedermann <isenfeld> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4 | CC: | ashankar, codonell, isenfeld, mfranc, ovasik, spoyarek |
| Target Milestone: | rc | Keywords: | ManPageChange, Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: iconv man page was incomplete
Consequence: incomplete documentation
Fix: new man page from upstream updates rhel man page
Result: updated documentation
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 07:26:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1124708 | ||
|
Description
Jakub Prokes
2013-09-25 10:53:15 UTC
In the mean time, you can check out the iconv(1p) man page, which contains description of required options:
-c Omit any characters that are invalid in the codeset of the input
file from the output. When -c is not used, the results of
encountering invalid characters in the input stream (either
those that are not characters in the codeset of the input file
or that have no corresponding character in the codeset of the
output file) shall be specified in the system documentation. The
presence or absence of -c shall not affect the exit status of
iconv.
-s Suppress any messages written to standard error concerning
invalid characters. When -s is not used, the results of encoun‐
tering invalid characters in the input stream (either those that
are not valid characters in the codeset of the input file or
that have no corresponding character in the codeset of the out‐
put file) shall be specified in the system documentation. The
presence or absence of -s shall not affect the exit status of
iconv.
There are 2 possible soultions for this bug: * update the iconv(1) man page with information from for example iconv(1p) * remove iconv(1) man page and keep only iconv(1p) man page, which is far more complete I would prefer second solution, but functionality described in iconv(1p) man page should be tested against actual implementation of iconv program in RHEL-6. peter On Fedora 20 there is no /usr/share/man/man1/iconv.1.gz, only /usr/share/man/man1p/iconv.1p.gz as Peter posted. How much iconv on rhel6.6 and f20 differ? Can you take a look at it or say what solution is better for your component? Right now, Marko Myllynen is preparing man-page for iconv http://www.spinics.net/lists/linux-man/msg06108.html New man page containing -s and -c switches for iconv has been created: http://git.kernel.org/cgit/docs/man-pages/man-pages.git/tree/man1/iconv.1 compared with iconv --help Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1382.html |