]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
bin/grepc: srcfix (Escape '?' in bash(1) case following getopts(1))
authorAlejandro Colomar <alx@kernel.org>
Sun, 5 Nov 2023 16:41:06 +0000 (17:41 +0100)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:29:23 +0000 (21:29 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
bin/grepc

index af6b6006283116ca553663710935ecbdc558699e..b340c655b0daac3e1e3c120b5e38d1a73ea33c1d 100755 (executable)
--- a/bin/grepc
+++ b/bin/grepc
@@ -128,7 +128,7 @@ grepc_parse_cmd()
                        esac;
                        t='yes';
                        ;;
-               ?)
+               \?)
                        exit 1;  # getopts(1) prints an error msg.
                        ;;
                esac;