Hide Forgot
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:
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