public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Conflicting alias for some man pages
@ 2022-12-03 14:01 Helge Kreutzmann
  2022-12-03 16:36 ` Alejandro Colomar
  0 siblings, 1 reply; 14+ messages in thread
From: Helge Kreutzmann @ 2022-12-03 14:01 UTC (permalink / raw)
  To: Alejandro Colomar, Michael Kerrisk; +Cc: linux-man, Mario Blättermann

[-- Attachment #1: Type: text/plain, Size: 2434 bytes --]

Hello Alejandro,
hello Michael,
short description:
Please remove duplicates in the alias (alternative) names of man
pages. (List of known examples at the end).

Long description:

I support Mario in maintaining the translation of manpages
(manpages-l10n) and I'm also the Debian maintainer of manpages-l10n.

Some man pages describe multiple, related commands, functions,
interfaces, …. In the english case, man automatically figures this
out, so that you can call the man page under each name without any
further manual configuration (at least in Debian, where I tried it).

Up to recently, manpages-l10n shipped the translated main man page,
e.g. if
command1.1
contains 

NAME
commmand1, command2 - Description

manpages-l10n shipped e.g. de/man1/command1.1

Under Debian then the following happend:
If I ran
man command1
I saw the German version, however, with
man command2
I got the english version, if it exists, otherwise the German version. 

The maintainer of man requested that I provide explicit symlinks for
these man pages[1], which I implemented for the last upload of
manpages-l10n to Debian.

While doing this, I noticed that some alternative names (aliases)
where used multiple times. This caused link creation to fail (for the
second and further occurences) and should also cause "random"
behaviour for the english pages (as man could select from several
pages).

Could you remove these duplicates in your next upload?

I found the following duplicates, I did not do an extensive search:
===================================================================
rindex - Both in index.3 and in string.3
strncasecmp - Both in strcasecmp.3 and in string.3
strncat - Both in strcat.3 and in string.3
strncmp - Both in strcmp.3 and in string.3
strncpy - Both in strcpy.3 and in string.3
__fpurge - Both in fpurge.3 and in stdio_ext.3
strcspn - Both in strspn.3 and in string.3
strrchr - Both in strchr.3 and in string.3
pselect - Both in select.2 and in select_tut.2

Thanks!

Greetings

            Helge

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020742

-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-12-11 14:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-03 14:01 Conflicting alias for some man pages Helge Kreutzmann
2022-12-03 16:36 ` Alejandro Colomar
2022-12-03 16:51   ` Helge Kreutzmann
2022-12-03 17:03     ` Alejandro Colomar
2022-12-03 17:21       ` Helge Kreutzmann
2022-12-09 18:53   ` Alejandro Colomar
2022-12-09 20:37     ` G. Branden Robinson
2022-12-09 20:43       ` str{n,}casecmp(3) and <strings.h> (was: Conflicting alias for some man pages) Alejandro Colomar
2022-12-09 20:44         ` Alejandro Colomar
2022-12-09 20:48       ` man-db bugs? " Alejandro Colomar
2022-12-10  7:56         ` Helge Kreutzmann
2022-12-10  7:53       ` Conflicting alias for some man pages Helge Kreutzmann
2022-12-11 13:52         ` Alejandro Colomar
2022-12-11 14:20           ` Helge Kreutzmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox