]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
src/bin/duffman: wsfix
authorAlejandro Colomar <alx@kernel.org>
Thu, 9 Jan 2025 11:46:25 +0000 (12:46 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 10 Jan 2025 00:11:38 +0000 (01:11 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/bin/duffman

index 1fe47e5a6ac5261a7aa76534e9930ebe51023470..4c05b73f21185042531415c9ebb33304d3c50654 100755 (executable)
@@ -7,15 +7,14 @@ set -Eeuo pipefail;
 
 # diff all modified pages against the system ones.
 
-       cd $(git rev-parse --show-toplevel);
+cd $(git rev-parse --show-toplevel);
 
-       git diff --name-only \
-       | grep -E \
-          '(\.[[:digit:]]([[:alpha:]][[:alnum:]]*)?\>|\.man)+(\.man|\.in)*$' \
-       | sortman \
-       | while read f; do \
-               sys="$(basename "$f")";
+git diff --name-only \
+| grep -E '(\.[[:digit:]]([[:alpha:]][[:alnum:]]*)?\>|\.man)+(\.man|\.in)*$' \
+| sortman \
+| while read f; do \
+       sys="$(basename "$f")";
 
-               diffman "$@" "$sys" "$f" || true;
-       done \
-       | less -R;
+       diffman "$@" "$sys" "$f" || true;
+done \
+| less -R;