]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
grepc: Remove blank line between header and code
authorAlejandro Colomar <alx.manpages@gmail.com>
Tue, 10 May 2022 16:48:01 +0000 (18:48 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:28:54 +0000 (21:28 +0100)
Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
bin/grepc

index b1b8b06a23b8a686f414b6835c5a397f2375feb3..9f6f1ffbe18dc51a33f05d52e02af04936753dfd 100755 (executable)
--- a/bin/grepc
+++ b/bin/grepc
@@ -24,7 +24,7 @@ function grepc_helper()
        | xargs grep -lP  "$2" \
        | sort \
        | xargs pcregrep -Mn "$3" /dev/null \
-       | sed -E 's/^[^: ]+:[0-9]+:/\n\n&\n\n/';
+       | sed -E 's/^[^: ]+:[0-9]+:/\n\n&\n/';
 }