aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/prog/alarm.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-23 22:40:59 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-23 22:40:59 +0300
commit3defec04e39c4ca6987a21f79686576d9823c653 (patch)
tree29ec09d35813a3677424e35ae465fee903a05c21 /awklib/eg/prog/alarm.awk
parentf215e2b823693103796cd71493b90300f54adba4 (diff)
downloadegawk-3defec04e39c4ca6987a21f79686576d9823c653.tar.gz
egawk-3defec04e39c4ca6987a21f79686576d9823c653.tar.bz2
egawk-3defec04e39c4ca6987a21f79686576d9823c653.zip
More reviewer comments.
Diffstat (limited to 'awklib/eg/prog/alarm.awk')
-rw-r--r--awklib/eg/prog/alarm.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/awklib/eg/prog/alarm.awk b/awklib/eg/prog/alarm.awk
index 63cf64a4..59630ea8 100644
--- a/awklib/eg/prog/alarm.awk
+++ b/awklib/eg/prog/alarm.awk
@@ -8,8 +8,7 @@
# usage: alarm time [ "message" [ count [ delay ] ] ]
-BEGIN \
-{
+BEGIN {
# Initial argument sanity checking
usage1 = "usage: alarm time ['message' [count [delay]]]"
usage2 = sprintf("\t(%s) time ::= hh:mm", ARGV[1])