]> git.ipfire.org Git - thirdparty/util-linux.git/commit
all_errnos/all_syscalls: use sed to extract defines from headers
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Apr 2024 19:56:22 +0000 (21:56 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Apr 2024 19:56:22 +0000 (21:56 +0200)
commit7e8bf34a2a54b639d95c51a4a0368b0c9578d612
treee18c268319b52f98a4841bc7d7e7f4eeaad16e7a
parentb51014a854134ef026de6049a331fa2cf9453015
all_errnos/all_syscalls: use sed to extract defines from headers

Posix-compliant awk does not seem capable of matching lines and
extracting capture groups of them.
Use sed instead.

Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/util-linux/051624b9256db27a731d62c031cb627d9f5a256e.camel@physik.fu-berlin.de/
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
configure.ac
meson.build
misc-utils/Makemodule.am
tools/all_errnos
tools/all_syscalls