On 7/2/26 4:21 AM, [email protected] wrote:

And the man page is already too long,

That's subjective. To me, documentation is the "right" length if I can
quickly find what I need to get the job done. I wrote the patch because
it will make grep easier for me to use, and I hope other people, too.

This is an issue all we GNU maintainers face. Keeping things up to
date in both the texinfo manual and the man page gets old after a while,
so I understand where both sides are coming from.

You just have to look at the right man page.

man 7 regex
  This page defines regular expressions and in turn references:

man 3 wctype
  This page then references:
              "alnum" -  realizes the isalnum(3) classification function
              "alpha" -  realizes the isalpha(3) classification function
              "blank" -  realizes the isblank(3) classification function
              "cntrl" -  realizes the iscntrl(3) classification function
              "digit" -  realizes the isdigit(3) classification function
              "graph" -  realizes the isgraph(3) classification function
              "lower" -  realizes the islower(3) classification function
              "print" -  realizes the isprint(3) classification function
              "punct" -  realizes the ispunct(3) classification function
              "space" -  realizes the isspace(3) classification function
              "upper" -  realizes the isupper(3) classification function
              "xdigit" - realizes the isxdigit(3) classification function
which are really all the same page.

Perhaps the grep man page should just reference regex(7) in the REGULAR EXPRESSIONS section.

  -- Bruce Dubbs
     linuxfromscratch.org





Reply via email to