]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
grepc: srcfix
authorAlejandro Colomar <alx.manpages@gmail.com>
Sat, 21 May 2022 23:25:46 +0000 (01:25 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:29:06 +0000 (21:29 +0100)
SC2124: Use $* instead of $@ to concatenate.

Reported-by: shellcheck(1)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
bin/grepc

index 63aa2c3ff4dab9ff0451cf56ec70d846f08d2beb..fad90bf4cbb1f7c13aa8dcadf3318077d1acea06 100755 (executable)
--- a/bin/grepc
+++ b/bin/grepc
@@ -122,7 +122,7 @@ grepc_parse_cmd()
        shift;
 
        if [ $# -gt 0 ]; then
-               FILES=$@;
+               FILES=$*;
        fi;
 }