Version: 2.3.0 (using KDE 4.7.3) OS: Linux These manual page seems to contain a hyphen where a minus sign was intended. By default, "-" chars are interpreted as hyphens (U+2010) by groff, not as minus signs (U+002D). Since options to programs use minus signs (U+002D), this means for example in UTF-8 locales that you cannot cut and paste options, nor search for them easily. "-" must be escaped ("\-") to be interpreted as minus. If you really intend a hyphen (normally you don't), write it as "\(hy" to emphasise that fact. If you use some tool that converts your documentation to groff format, this tag may indicate a bug in the tool. Some tools convert dashes of any kind to hyphens. The safe way of converting dashes is to convert them to "\-". Severity: wishlist, Certainty: possible Reproducible: Always Steps to Reproduce: source code inspection Actual Results: hyphen-used-as-minus-sign usr/share/man/man1/cleanup_digikamdb.1.gz:18 usr/share/man/man1/digitaglinktree.1.gz 14 more occurrences not shown usr/share/man/man1/digitaglinktree.1.gz:30 usr/share/man/man1/digitaglinktree.1.gz:33 usr/share/man/man1/digitaglinktree.1.gz:46 usr/share/man/man1/digitaglinktree.1.gz:52 usr/share/man/man1/digitaglinktree.1.gz:75 usr/share/man/man1/digitaglinktree.1.gz:76 usr/share/man/man1/digitaglinktree.1.gz:81 usr/share/man/man1/digitaglinktree.1.gz:83 usr/share/man/man1/digitaglinktree.1.gz:88 usr/share/man/man1/digitaglinktree.1.gz:97 Expected Results: "-" must be escaped ("\-") to be interpreted as minus OS: Linux (x86_64) release 3.1.0-1-amd64 Compiler: gcc
Patch will be appreciate... Gilles Caulier
Gilles, I am interested in working on this bug.I wanted to ask whether "-" is to be escaped as "\-" only in the 2 files digikaminktree1 and cleanup_digikamdb.1.Also is there any command which shows occurence of all such "-" symbols so that none of the symbol is left in escaping as Mark has shown in his comment which shows occurences of "-"
Saurabh, I don't know about man page syntax. Try to google the problem.
Gilles and Mark, I am adding attachment of the files after correcting the required files. So,please review it Mark since Gilles didn't have much idea about manpage syntax It's sort of patch for the bug but I couldn't make a diff file since it is not in my build directory Thanks
Created attachment 78750 [details] escaped "-" as required by groff
Created attachment 78751 [details] escaped "-" as required by groff in digitaglinktree.1
Created attachment 78781 [details] proper diff file for patch
Hi saurabh The patch is giving HUNK errors while applying. Can you please update your patch for the current git repo? Smit
Hi Smit, Can you give me information about the errors which you are getting while applying so that I could update my patch accordingly Saurabh
patching file utilities/scripts/cleanup_digikamdb/cleanup_digikamdb.1 patching file utilities/scripts/digitaglinktree/digitaglinktree.1 Hunk #4 FAILED at 72. Hunk #8 FAILED at 173. 2 out of 8 hunks FAILED -- saving rejects to file utilities/scripts/digitaglinktree/digitaglinktree.1.rej patching file utilities/kipiiface/kipiinterface.cpp Hunk #1 FAILED at 173. 1 out of 1 hunk FAILED -- saving rejects to file utilities/kipiiface/kipiinterface.cpp.rej
Created attachment 78926 [details] updated patch
Still not working. patching file utilities/scripts/cleanup_digikamdb/cleanup_digikamdb.1 patching file utilities/scripts/digitaglinktree/digitaglinktree.1 Hunk #4 FAILED at 72. patch: **** malformed patch at line 181: Kindly test it against the latest git and then post it. For testing it, (a) Create the patch and save it somewhere (b) Checkout all the changes in the local repo, update your repo (c) Reapply the patch and see if it works. Smit