[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/4] Add mansect(1)
From: |
Alejandro Colomar |
Subject: |
[PATCH v2 0/4] Add mansect(1) |
Date: |
Sun, 3 Nov 2024 02:16:40 +0100 |
Hi Colin, Branden,
I've further optimized the script to be 3x faster, simpler and more
robust. It now also prints the filename in the output, by calling
preconv(1), which is necessary for doing the job that mandb(8) does (see
patch 4/4).
Cheers,
Alex
Alejandro Colomar (4):
src/bin/mansect, mansect.1: Add program and its manual page
scripts/bash_aliases: man_lsfunc(), man_lsvar(): Use mansect(1)
scripts/bash_aliases: man_lsfunc(), man_lsvar(): Use pcre2grep(1)
instead of pcregrep(1)
src/bin/mansect: Preprocess with preconv(1)
man/man1/mansect.1 | 61 ++++++++++++++++++++++++++++++++++++++++++++
scripts/bash_aliases | 51 +++++++-----------------------------
src/bin/mansect | 27 ++++++++++++++++++++
3 files changed, 97 insertions(+), 42 deletions(-)
create mode 100644 man/man1/mansect.1
create mode 100755 src/bin/mansect
Range-diff against v0 (ignoring v1):
-: --------- > 1: 5ccf08a11 src/bin/mansect, mansect.1: Add program and its
manual page
-: --------- > 2: ef793bf0a scripts/bash_aliases: man_lsfunc(), man_lsvar():
Use mansect(1)
-: --------- > 3: 0464c22ec scripts/bash_aliases: man_lsfunc(), man_lsvar():
Use pcre2grep(1) instead of pcregrep(1)
-: --------- > 4: 929d1df17 src/bin/mansect: Preprocess with preconv(1)
--
2.39.5
signature.asc
Description: PGP signature
- [PATCH 0/3] Add mansect(1) program and manual page, Alejandro Colomar, 2024/11/02
- [PATCH] CONTRIBUTING.d/patches: Document new features alongside the features, Alejandro Colomar, 2024/11/02
- [PATCH 1/3] signal.7: Better description for SIGFPE, Alejandro Colomar, 2024/11/02
- [PATCH 2/3] src/bin/mansect, mansect.1: Add program and its manual page, Alejandro Colomar, 2024/11/02
- [PATCH 3/3] scripts/bash_aliases: man_section(), man_lsfunc(), man_lsvar(): Use mansect(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 0/4] Add mansect(1),
Alejandro Colomar <=
- [PATCH v2 1/4] src/bin/mansect, mansect.1: Add program and its manual page, Alejandro Colomar, 2024/11/02
- [PATCH v2 2/4] scripts/bash_aliases: man_lsfunc(), man_lsvar(): Use mansect(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 3/4] scripts/bash_aliases: man_lsfunc(), man_lsvar(): Use pcre2grep(1) instead of pcregrep(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 4/4] src/bin/mansect: Preprocess with preconv(1), Alejandro Colomar, 2024/11/02