summaryrefslogtreecommitdiffstats
path: root/gl/unsetenv.c
diff options
context:
space:
mode:
authorlgmu <80966566+lgmu@users.noreply.github.com>2023-01-19 10:33:25 (GMT)
committerSven Nierlein <sven@nierlein.org>2023-01-20 08:11:26 (GMT)
commitdb1f87c39e0ff0d76d13babfcbb332c4cc3ad0fe (patch)
tree07af50a233d55c38a6a22ffa460de159270ebf17 /gl/unsetenv.c
parentf4930aee28ccb664691809e7dcc9198eb81429c5 (diff)
downloadmonitoring-plugins-db1f87c39e0ff0d76d13babfcbb332c4cc3ad0fe.tar.gz
Added --exclude, cleanup args, fix -a count bug
Added --exclude to exclude patterns Cleaned up duplicated code in the args Fixed a bug when using --all because the count always returned "1" even when nothing matched entry=$($GREP "$query" "$tempdiff") count=$(echo "$entry" | wc -l) Example: $ touch testfile $ TEST123=$(grep 'test' testfile) $ echo "$TEST123" | wc -l 1
Diffstat (limited to 'gl/unsetenv.c')
0 files changed, 0 insertions, 0 deletions