]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
grepc: srcfix
authorAlejandro Colomar <alx.manpages@gmail.com>
Sat, 21 May 2022 23:21:22 +0000 (01:21 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:29:05 +0000 (21:29 +0100)
SC2004: $/${} is unnecessary on arithmetic variables.

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

index 9c59c3d3c61af0b8fe676ff31658ca200f581b98..63aa2c3ff4dab9ff0451cf56ec70d846f08d2beb 100755 (executable)
--- a/bin/grepc
+++ b/bin/grepc
@@ -112,7 +112,7 @@ grepc_parse_cmd()
                        ;;
                esac;
        done;
-       shift $(($OPTIND-1));
+       shift $((OPTIND-1));
 
        if [ $# -lt 1 ]; then
                grepc_usage >&2;