diff --git a/mapcheck b/mapcheck index 8614409..eaacd92 100755 --- a/mapcheck +++ b/mapcheck @@ -72,9 +72,9 @@ BEGIN { print "WARNING: Line", NR ":", "Line length is", length($1) ". Max length is", MAXLEN } - if (NF > 1 && NF < 4) { + if (NF != 4) { ERR++ - print "ERROR: Line", NR ":", "Link line with", NF, "columns. Expected 4." + print "ERROR: Line", NR ":", "Line with", NF, "columns. Expected 4." } if (NF == 4 && !(substr($1, 1, 1) in TYPES)) {