summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-22 01:25:46 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-05-22 01:30:06 +0200
commit17122d4376394a0af3fc1319e62bef15a5ea4343 (patch)
tree4e80d823260b639ad4442ebfb01846ea1ccbacfd
parentb18e148481efed61b9f6b4fe2b88b72dbb8ebe14 (diff)
grepc: srcfix
SC2124: Use $* instead of $@ to concatenate. 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 63aa2c3..fad90bf 100755
--- a/bin/grepc
+++ b/bin/grepc
@@ -122,7 +122,7 @@ grepc_parse_cmd()
shift;
if [ $# -gt 0 ]; then
- FILES=$@;
+ FILES=$*;
fi;
}