From: Alejandro Colomar Date: Wed, 29 Oct 2025 22:34:55 +0000 (+0100) Subject: src/bin/grepc: srcfix (Simplify case/esac) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=204b31b03f1732d20ba2b5bf06b18e2ede8bc1e6;p=thirdparty%2Fman-pages.git src/bin/grepc: srcfix (Simplify case/esac) We don't need ';;&' since the commit referenced below. Fixes: 0ba68dd03564 (2024-09-19, 2025-10-29; "bin/grepc, grepc.1: -k: Remove flag") Signed-off-by: Alejandro Colomar --- diff --git a/src/bin/grepc b/src/bin/grepc index 93446366c..102396273 100755 --- a/src/bin/grepc +++ b/src/bin/grepc @@ -54,16 +54,16 @@ grepc_err() while getopts "A:B:C:chilm:nrt:x:" opt; do # shellcheck disable=SC2249 # getopts(1) uses '?' for an error. case "$opt" in - A) A="-A$OPTARG"; ;;& - B) B="-B$OPTARG"; ;;& - C) C="-C$OPTARG"; ;;& - c) c='-c'; ;;& - h) h='-h'; ;;& - i) i='-i'; ;;& - l) l='-l'; ;;& - m) m="-m$OPTARG"; ;;& - n) n='-n'; ;;& - r) r='yes'; ;;& + A) A="-A$OPTARG"; ;; + B) B="-B$OPTARG"; ;; + C) C="-C$OPTARG"; ;; + c) c='-c'; ;; + h) h='-h'; ;; + i) i='-i'; ;; + l) l='-l'; ;; + m) m="-m$OPTARG"; ;; + n) n='-n'; ;; + r) r='yes'; ;; t) if test -z "$x"; then x='c';