RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1011892 - Incomplete man page for iconv
Summary: Incomplete man page for iconv
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: man-pages-overrides
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Chaloupka
QA Contact: Iveta Wiedermann
URL:
Whiteboard:
Depends On:
Blocks: 1124708
TreeView+ depends on / blocked
 
Reported: 2013-09-25 10:53 UTC by Jakub Prokes
Modified: 2014-10-14 07:26 UTC (History)
6 users (show)

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
Clone Of:
Environment:
Last Closed: 2014-10-14 07:26:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1382 0 normal SHIPPED_LIVE man-pages-overrides bug fix update 2014-10-14 01:21:54 UTC

Description Jakub Prokes 2013-09-25 10:53:15 UTC
Description of problem:
In man page for iconv are not described all options.


Version-Release number of selected component (if applicable):
glibc-common-2.12-1.107.el6.ppc64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Information about '-c' and '-s' switches. Which is described in help.

iconv --help


Additional info:

Comment 3 Peter Schiffer 2014-02-04 17:35:20 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.

Comment 4 Peter Schiffer 2014-04-22 11:57:53 UTC
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

Comment 5 Jan Chaloupka 2014-06-04 12:03:28 UTC
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?

Comment 6 Jan Chaloupka 2014-06-12 11:30:24 UTC
Right now, Marko Myllynen is preparing man-page for iconv

http://www.spinics.net/lists/linux-man/msg06108.html

Comment 7 Jan Chaloupka 2014-07-22 11:35:26 UTC
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

Comment 13 errata-xmlrpc 2014-10-14 07:26:21 UTC
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


Note You need to log in before you can comment on or make changes to this bug.