aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/prog/cut.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/cut.awk
parentf215e2b823693103796cd71493b90300f54adba4 (diff)
downloadegawk-3defec04e39c4ca6987a21f79686576d9823c653.tar.gz
egawk-3defec04e39c4ca6987a21f79686576d9823c653.tar.bz2
egawk-3defec04e39c4ca6987a21f79686576d9823c653.zip
More reviewer comments.
Diffstat (limited to 'awklib/eg/prog/cut.awk')
-rw-r--r--awklib/eg/prog/cut.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/awklib/eg/prog/cut.awk b/awklib/eg/prog/cut.awk
index 04d9bc11..56e35e71 100644
--- a/awklib/eg/prog/cut.awk
+++ b/awklib/eg/prog/cut.awk
@@ -20,8 +20,7 @@ function usage( e1, e2)
print e2 > "/dev/stderr"
exit 1
}
-BEGIN \
-{
+BEGIN {
FS = "\t" # default
OFS = FS
while ((c = getopt(ARGC, ARGV, "sf:c:d:")) != -1) {