aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/lib/getopt.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-03-25 13:31:01 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-03-25 13:31:01 +0200
commit4fe569fb78dd1b25822c16c9cac515a0fc6702a4 (patch)
tree165759d7f20fd5f0425c4cb0c95b69e4011a2920 /awklib/eg/lib/getopt.awk
parenta3e92aab353cabae2743b78de1f12fe94e66a339 (diff)
downloadegawk-4fe569fb78dd1b25822c16c9cac515a0fc6702a4.tar.gz
egawk-4fe569fb78dd1b25822c16c9cac515a0fc6702a4.tar.bz2
egawk-4fe569fb78dd1b25822c16c9cac515a0fc6702a4.zip
Apply first set of edits to gawk.texi.
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
}