]> git.ipfire.org Git - thirdparty/openssl.git/commit
check-format-commit: call fewer unneeded processes
authorBeat Bolli <dev@drbeat.li>
Sat, 17 Aug 2024 15:34:14 +0000 (17:34 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 7 Oct 2024 15:50:27 +0000 (17:50 +0200)
commit0d6544cdf845f7950c50680059c976cb507b6e45
treed23efc80d94bf576b81efd60da1ccc8c36ac7bd3
parent1c1223ff535944de880a23cbf0ef9bba6092b0d9
check-format-commit: call fewer unneeded processes

`wc` does not output a file name if the input is stdin.

`awk` reads its file argument; there's no need for `cat`.

`sort -u` outputs unique lines. It should be supported on all platforms,
as it's specified by POSIX.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25562)
util/check-format-commit.sh