public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Issue in man page isalpha.3
@ 2025-08-24 14:48 Helge Kreutzmann
  0 siblings, 0 replies; 7+ messages in thread
From: Helge Kreutzmann @ 2025-08-24 14:48 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    I<(isalpha(c)\\ || \\ isdigit(c))> → B<(isalpha(>I<c>B<) || isdigit(>I<c>B<))>

"checks for an alphanumeric character; it is equivalent to I<(isalpha(c)\\ ||"
"\\ isdigit(c))>."

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

* Issue in man page isalpha.3
@ 2025-08-24 14:48 Helge Kreutzmann
  0 siblings, 0 replies; 7+ messages in thread
From: Helge Kreutzmann @ 2025-08-24 14:48 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    I<(isupper(c)\\ ||\\ islower(c))> → B<(isupper(>I<c>B<) || islower(>I<c>B<))>

"checks for an alphabetic character; in the standard B<\\[dq]C\\[dq]> locale, "
"it is equivalent to I<(isupper(c)\\ ||\\ islower(c))>.  In some locales, "
"there may be additional characters for which B<isalpha>()  is true\\"
"[em]letters which are neither uppercase nor lowercase."

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

* Issue in man page isalpha.3
@ 2025-12-24 14:38 Helge Kreutzmann
  2025-12-24 15:24 ` Alejandro Colomar
  0 siblings, 1 reply; 7+ messages in thread
From: Helge Kreutzmann @ 2025-12-24 14:38 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    I<(isalpha(c)\\ || \\ isdigit(c))> → B<(isalpha(>I<c>B<) || isdigit(>I<c>B<))>

"checks for an alphanumeric character; it is equivalent to I<(isalpha(c)\\ ||"
"\\ isdigit(c))>."

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

* Issue in man page isalpha.3
@ 2025-12-24 14:38 Helge Kreutzmann
  2025-12-24 15:30 ` Alejandro Colomar
  0 siblings, 1 reply; 7+ messages in thread
From: Helge Kreutzmann @ 2025-12-24 14:38 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    I<(isupper(c)\\ ||\\ islower(c))> → B<(isupper(>I<c>B<) || islower(>I<c>B<))>

"checks for an alphabetic character; in the standard B<\\[dq]C\\[dq]> locale, "
"it is equivalent to I<(isupper(c)\\ ||\\ islower(c))>.  In some locales, "
"there may be additional characters for which B<isalpha>()  is true\\"
"[em]letters which are neither uppercase nor lowercase."

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

* Re: Issue in man page isalpha.3
  2025-12-24 14:38 Issue in man page isalpha.3 Helge Kreutzmann
@ 2025-12-24 15:24 ` Alejandro Colomar
  2025-12-25  5:58   ` Helge Kreutzmann
  0 siblings, 1 reply; 7+ messages in thread
From: Alejandro Colomar @ 2025-12-24 15:24 UTC (permalink / raw)
  To: Helge Kreutzmann; +Cc: mario.blaettermann, linux-man

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

Hi Helge,

On Wed, Dec 24, 2025 at 02:38:20PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    I<(isalpha(c)\\ || \\ isdigit(c))> → B<(isalpha(>I<c>B<) || isdigit(>I<c>B<))>

The current formatting is correct.  This is documented in man-pages(7):

     Expressions, if not written on a separate indented line, should be
     specified in italics.  Again, the use of nonbreaking spaces may be
     appropriate if the expression is inlined with normal text.


Cheers,
Alex

> 
> "checks for an alphanumeric character; it is equivalent to I<(isalpha(c)\\ ||"
> "\\ isdigit(c))>."
> 

-- 
<https://www.alejandro-colomar.es>

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

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

* Re: Issue in man page isalpha.3
  2025-12-24 14:38 Helge Kreutzmann
@ 2025-12-24 15:30 ` Alejandro Colomar
  0 siblings, 0 replies; 7+ messages in thread
From: Alejandro Colomar @ 2025-12-24 15:30 UTC (permalink / raw)
  To: Helge Kreutzmann; +Cc: mario.blaettermann, linux-man

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

On Wed, Dec 24, 2025 at 02:38:21PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    I<(isupper(c)\\ ||\\ islower(c))> → B<(isupper(>I<c>B<) || islower(>I<c>B<))>

This is expected.


Cheers,
Alex

> 
> "checks for an alphabetic character; in the standard B<\\[dq]C\\[dq]> locale, "
> "it is equivalent to I<(isupper(c)\\ ||\\ islower(c))>.  In some locales, "
> "there may be additional characters for which B<isalpha>()  is true\\"
> "[em]letters which are neither uppercase nor lowercase."

-- 
<https://www.alejandro-colomar.es>

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

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

* Re: Issue in man page isalpha.3
  2025-12-24 15:24 ` Alejandro Colomar
@ 2025-12-25  5:58   ` Helge Kreutzmann
  0 siblings, 0 replies; 7+ messages in thread
From: Helge Kreutzmann @ 2025-12-25  5:58 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mario.blaettermann, linux-man

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

Hello Alex,
Am Wed, Dec 24, 2025 at 04:24:22PM +0100 schrieb Alejandro Colomar:
> Hi Helge,
> 
> On Wed, Dec 24, 2025 at 02:38:20PM +0000, Helge Kreutzmann wrote:
> > Without further ado, the following was found:
> > 
> > Issue:    I<(isalpha(c)\\ || \\ isdigit(c))> → B<(isalpha(>I<c>B<) || isdigit(>I<c>B<))>
> 
> The current formatting is correct.  This is documented in man-pages(7):
> 
>      Expressions, if not written on a separate indented line, should be
>      specified in italics.  Again, the use of nonbreaking spaces may be
>      appropriate if the expression is inlined with normal text.

I marked it accordingly in our sources. This rule is rather unlogical,
though. (I also marked up similar replies, so I won't answer them
individually).

Thanks for your swift handling and if applicable, happy Holiday
Season.

Greetings

        Helge


-- 
      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] 7+ messages in thread

end of thread, other threads:[~2025-12-25  5:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-24 14:38 Issue in man page isalpha.3 Helge Kreutzmann
2025-12-24 15:24 ` Alejandro Colomar
2025-12-25  5:58   ` Helge Kreutzmann
  -- strict thread matches above, loose matches on Subject: below --
2025-12-24 14:38 Helge Kreutzmann
2025-12-24 15:30 ` Alejandro Colomar
2025-08-24 14:48 Helge Kreutzmann
2025-08-24 14:48 Helge Kreutzmann

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