summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-22 01:21:22 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-05-22 01:29:52 +0200
commitb18e148481efed61b9f6b4fe2b88b72dbb8ebe14 (patch)
tree6e8122eb07f1ed73ecdf86332dd3c6fe1ff18d20
parent2ea37f6ec888e1124f459c01bbf95abc80ff9606 (diff)
grepc: srcfix
SC2004: $/${} is unnecessary on arithmetic variables. Reported-by: shellcheck(1) Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rwxr-xr-xbin/grepc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/grepc b/bin/grepc
index 9c59c3d..63aa2c3 100755
--- 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;