NetBSD/usr.sbin/certctl
riastradh 43f394c011 certctl(8): Avoid basename(1).
Saves some time running subprocesses.  Since this is only used for
non-directories (i.e., there's never trailing / on the inputs), it
suffices to delete the longest prefix matching glob `*/' with shell
parameter expansion -- much cheaper than spawning a subprocess.

Shaves off about 1/3 of the time spent in `certctl list' on an
aarch64 VM in qemu.

PR bin/57993
2024-03-03 15:53:55 +00:00
..
Makefile certctl(8): Install certs.conf in /usr/share/examples too. 2023-09-03 18:31:01 +00:00
certctl.8 certctl(8): Reword various things in an attempt to clarify. 2023-10-11 15:28:05 +00:00
certctl.sh certctl(8): Avoid basename(1). 2024-03-03 15:53:55 +00:00
certs.conf