Your message dated Fri, 20 Mar 2026 08:11:09 +0000
with message-id <[email protected]>
and subject line Bug#1120550: fixed in manpages 6.17-2
has caused the Debian Bug report #1120550,
regarding RFP: manpages-utils -- Various scripts provided by the Linux 
man-pages project
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1120550: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120550
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
X-Debbugs-Cc: Marcos Fouces <[email protected]>, "Dr. Tobias Quathamer" 
<[email protected]>

* Package name    : manpages-utils
  Version         : 6.16
  Upstream Contact: Alejandro Colomar <[email protected]>
* URL             : <https://www.kernel.org/doc/man-pages/>
* License         : GPL-3.0-or-later
  Programming Lang: sh(1), bash(1)
  Description     : Various scripts provided by the Linux man-pages project

These scripts are useful for anyone maintaining manual pages.  For
example, they would help projects that have one or a few manual pages
for their program, but also helps maintainers of large documentation
projects.

Other scripts are more related to programming in general, rather than
just documentation.

At the moment, there are the following scripts:

        diffman-git (1)      - compare changes to manual pages line by line
        grepc (1)            - find declarations, definitions, and uses in 
source code
        grepc_c (1)          - print PCRE patterns for searching C code
        mansect (1)          - print the source code of sections of manual pages
        pdfman (1)           - render a manual page in PDF
        sortman (1)          - sort manual-page path names

        (And there's also grepc_mk, which is yet undocumented, an is
         an experimental driver for grepc(1).)

 why is this package useful/relevant?

        diffman-git(1) is very useful for verifying patches to manual
        pages.

        mansect(1) is useful to read specific sections of one or more
        manual pages.  I find it especially useful when unifying the
        language of a section in a large number of manual pages, so I
        can see the same section of the different pages together.

        pdfman(1) opens a manual page in a PDF viewer, for those who
        prefer to read it as a PDF (or for maintainers of manual pages,
        to make sure their pages look good as a PDF).

        sortman(1) is similar to sort(1), but it sorts manual page file
        names in the order that they should appear in the manual.  That
        is, the intro(x) manual page is the first manual page in
        section x, and then the rest of the pages of a section are
        sorted alphabetically.

        grepc(1) is similar to grep(1) --actually, more similar to
        pcre2grep(1)--, but finds source code.  For example:

                alx@devuan:/usr/include$ grepc -n strcpy .
                ./string.h:141:extern char *strcpy (char *__restrict __dest, 
const char *__restrict __src)
                     __THROW __nonnull ((1, 2));
                ./mes/string.h:45:char *strcpy (char *dest, char const *src);

        grepc_c(1) produces the PCRE2 patterns that grepc(1) uses for
        finding C code.  For example:

                $ grepc_c -tfp strcpy
                
(?s)^[\w[](?:[\w\s\(,\)[\]*]|::)+[\w\s\)*\]]\s+\**\(?strcpy\)?\s*(?<params>\((?:[\w\s,;[\]*\?:+-]|(?&params))*(?:\.\.\.)?\))(?:[\w\s\(,\)[\]]|::)*;

        It's necessary to implement grepc(1).  (And it's useful to debug
        grepc(1) when there's a bug in a regex.)

                alx@devuan:/usr/include$ find . -type f \
                        | xargs pcre2grep -nM "$(grepc_c -tfp strcpy)";
                ./string.h:141:extern char *strcpy (char *__restrict __dest, 
const char *__restrict __src)
                     __THROW __nonnull ((1, 2));
                ./mes/string.h:45:char *strcpy (char *dest, char const *src);

 is it a dependency for another package?

        No.

 do you use it?

        Every day.

 if there are other packages providing similar functionality, how does
 it compare?

        The only program that has something comparable is grepc(1).
        ctags is something similar to it.  However, grepc(1) is more
        useful than ctags because it's a Unix filter.  It gets input
        from stdin or regular files, and produces output on stdout.  You
        can use it directly from the command line, in a pipeline.

        grepc(1) also doesn't need to create and update an index, which
        makes it possible to use it in a recently downloaded source code
        directory.  It can also be used in a pipeline combined with
        git(1) to find out the definition of a function some years ago,
        or even use diff(1) to compare a definition from some years ago
        with now.

                alx@devuan:~/src/shadow/shadow/master$ diff -u \
                                <(git show 3049bef9c3:lib/alloc/realloc.h | 
grepc -h REALLOC) \
                                <(cat lib/alloc/realloc.h | grepc -h REALLOC);
                --- /dev/fd/63  2025-10-31 22:20:17.098318929 +0100
                +++ /dev/fd/62  2025-10-31 22:20:17.098318929 +0100
                @@ -1,4 +1,4 @@
                -#define REALLOC(ptr, n, type)                                  
               \
                +#define REALLOC(p, n, type)                                    
               \
                 (                                                              
               \
                -       _Generic(ptr, type *:  (type *) reallocarray(ptr, n, 
sizeof(type)))   \
                +       _Generic(p, type *: (type *) reallocarray(p, (n) ?: 1, 
sizeof(type))) \
                 )

        This is something I use every now and then while understanding
        old bugs, and has proved very useful.

        Here are a few example of links to shadow-utils discussions
        where grepc(1) was helpful:
        <https://github.com/shadow-maint/shadow/pull/1266#issue-3126573666>
        <https://github.com/shadow-maint/shadow/pull/1116#issue-2649006344>

 how do you plan to maintain it? inside a packaging team
 (check list at https://wiki.debian.org/Teams)? are you
 looking for co-maintainers? do you need a sponsor?

        These scripts are part of the Linux man-pages project.  Since
        that is already packaged as src:manpages, I expect it would be
        easy to just add a binary package in the same source package,
        called manpages-utils.

        I'd help as an upstream maintainer, but not directly as a
        maintainer of the Debian package (although I want to help with
        the packaging of the Debian packages of src:manpages
        eventually), but never find the time.  We'll see.

Have a lovely day!
Alex

--- End Message ---
--- Begin Message ---
Source: manpages
Source-Version: 6.17-2
Done: Dr. Tobias Quathamer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
manpages, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <[email protected]> (supplier of updated manpages package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 19 Mar 2026 15:14:43 +0100
Binary: manpages manpages-dev manpages-utils
Source: manpages
Architecture: all source
Version: 6.17-2
Distribution: unstable
Urgency: medium
Maintainer: Dr. Tobias Quathamer <[email protected]>
Changed-By: Dr. Tobias Quathamer <[email protected]>
Closes: 1120502 1120550
Description: 
 manpages-dev - Manual pages about using GNU/Linux for development
 manpages   - Manual pages about using a GNU/Linux system
 manpages-utils - Various scripts provided by the Linux man-pages project
Changes:
 manpages (6.17-2) unstable; urgency=medium
 .
   * Add new binary package for manpages-utils. (Closes: #1120550, #1120502)
   * Update d/rules for new binary package
   * Add Breaks and Replaces for manpages
Checksums-Sha1: 
 f520bda0405c6c186f3927a834406152e91433c6 2196020 manpages-dev_6.17-2_all.deb
 2c2cdab17cdce97741d9f7d7b88a69fad5b0fc97 28224 manpages-utils_6.17-2_all.deb
 338f0dd42f75292381538496a86ef3f2582e30fe 1381972 manpages_6.17-2_all.deb
 416bd47be0859a24631cda13605a3c3028154198 6528 manpages_6.17-2_amd64.buildinfo
 82c2d10971a5b83e20e771f2c73129f0966123e2 2037 manpages_6.17-2.dsc
 f51d3dc37eb35a519011ab1dc86dd052e4c299cd 57020 manpages_6.17-2.debian.tar.xz
Checksums-Sha256: 
 fc001e3f687287362c625032cb5326cd761edf138f640fdfe968c067428dbe05 2196020 
manpages-dev_6.17-2_all.deb
 ebc9c02653aeba3fc8cde6852607dcdb527b09eca542bda442cdf3157da5de90 28224 
manpages-utils_6.17-2_all.deb
 b1fff9103a7415d276a0cebb130178506baa46e095eee984a92e954e00b4422d 1381972 
manpages_6.17-2_all.deb
 99a663d8291d17e82eb4ba3362fc8584e178bb65a3f277c65c90a9c3eb4f0f0d 6528 
manpages_6.17-2_amd64.buildinfo
 fa26c8a68a7a45b0f1cdd37a9839cbe0636ff8bcf8a57894ad3a293e359cdf39 2037 
manpages_6.17-2.dsc
 c6ca3b98fc2449744d0fefe5968f3faf76663159c2f7c94d456be15a7758887e 57020 
manpages_6.17-2.debian.tar.xz
Files: 
 4129172f45d1d65ba10a1e30bf84efde 2196020 doc optional 
manpages-dev_6.17-2_all.deb
 798594c603b50ed36e6dbca729454aa1 28224 doc standard 
manpages-utils_6.17-2_all.deb
 2873ddd6d57f7d9b67778443db2d880d 1381972 doc standard manpages_6.17-2_all.deb
 df8d0a1d7c98210fc561c465561ce827 6528 doc standard 
manpages_6.17-2_amd64.buildinfo
 0f58399e0a1c7e674be297220a798e6b 2037 doc standard manpages_6.17-2.dsc
 b34ca573661df759d009474975c796e4 57020 doc standard 
manpages_6.17-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAmm8S8cACgkQEwLx8Dbr
6xnWPw/+JO4s4r5JcWkA/Q7wH8lvNxIoNFTKjc1YsXC6IdkUIyBpHD63j7E8dzH5
H5VM6ZCxbaKDurnGr5REueGOf5pxNwBLI5gIfHzq9tstdRaejq7/fZl2XfWqn1w9
vKm8oQey74t6K/SG11IJhZYnWtw43QkAU8j8cmQijsJYZ6nasPJAcookmoz8Lb68
m5TQcL8BtT9m9m0T7/uu1vSwgaOXIRQFrFo+IJQDu+WjQRKKAzdvK6xilJOO5UNB
45TYHYW0tE1EntIKYf4Xoe7J2jGdtbQk5Q9CoJ7qBR0cOzGGMNfdMtf7kVS3D/ZK
rBRSbsXNYV6lTKhW2lH/jO0dwfxg0V/ks4RITM5ZKGbeLlJHh7CYfoGEJkdMFQJQ
S9axZ8daNIm5XjxqUtRdl7ptTLerxlbie02aaqOSIp+LhbfiH7Are6LJ4mJ2dV52
Zks1U2r/eOSo1DFn2mWrkXPWaDwuVhuX/vkQayqq/RANz+bISkr711VltvXpz2O7
7Cuc73694FKM7s3W/zGRYR6lHffCgxBdJcHCPX0mm0nu19jy3EW4fnFKKr9E5/OM
ZvMlmZ+M67FPdLxYJuvpBPlMvbD7Dbv2LyVFnsJ3hMAQpy/SN/6vC8Wc5QYhIESA
z6RAhQmLC9JHokeA5iJUJMfn66qsuPOPBm8Ar2VJUpabLv2+AFI=
=Fjqs
-----END PGP SIGNATURE-----

Attachment: pgpLCctK49TFr.pgp
Description: PGP signature


--- End Message ---

Reply via email to