aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/prog/alarm.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-03-30 23:25:17 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-03-30 23:25:17 +0200
commit089e787a5a970f8005cf4ee34b152bf1747b14b0 (patch)
tree0d4783a31e782e02b429d5715d149a5e3df3b813 /awklib/eg/prog/alarm.awk
parent0a4c1c5344b5d6c1750708675901509210497761 (diff)
downloadegawk-089e787a5a970f8005cf4ee34b152bf1747b14b0.tar.gz
egawk-089e787a5a970f8005cf4ee34b152bf1747b14b0.tar.bz2
egawk-089e787a5a970f8005cf4ee34b152bf1747b14b0.zip
More documentation edits.
Diffstat (limited to 'awklib/eg/prog/alarm.awk')
-rw-r--r--awklib/eg/prog/alarm.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/awklib/eg/prog/alarm.awk b/awklib/eg/prog/alarm.awk
index 2510c787..53563d15 100644
--- a/awklib/eg/prog/alarm.awk
+++ b/awklib/eg/prog/alarm.awk
@@ -30,7 +30,7 @@ BEGIN \
message = ARGV[2]
break
default:
- if (ARGV[1] !~ /[[:digit:]]?[[:digit:]]:[[:digit:]][[:digit:]]/) {
+ if (ARGV[1] !~ /[[:digit:]]?[[:digit:]]:[[:digit:]]{2}/) {
print usage1 > "/dev/stderr"
print usage2 > "/dev/stderr"
exit 1