aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/lib/getopt.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awklib/eg/lib/getopt.awk')
-rw-r--r--awklib/eg/lib/getopt.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/awklib/eg/lib/getopt.awk b/awklib/eg/lib/getopt.awk
index d3dd9c16..0b81aa09 100644
--- a/awklib/eg/lib/getopt.awk
+++ b/awklib/eg/lib/getopt.awk
@@ -27,7 +27,7 @@ function getopt(argc, argv, options, thisopt, i)
Optind++
_opti = 0
return -1
- } else if (argv[Optind] !~ /^-[^: \t\n\f\r\v\b]/) {
+ } else if (argv[Optind] !~ /^-[^:[:space:]]/) {
_opti = 0
return -1
}