diff options
author | Arthur David Olson <ado@elsie> | 1999-09-28 10:53:04 -0400 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-18 03:02:33 -0400 |
commit | 1cc91995b92796896d67bede076eb8471e610c89 (patch) | |
tree | 051660790b3c41c5b723063c7562e7a66c5a3bd3 /checktab.awk | |
parent | 6a8f623ff28ab2f5573985aa3d6c658b289dbdc8 (diff) | |
download | tz-1cc91995b92796896d67bede076eb8471e610c89.tar.gz |
other error eliminated
SCCS-file: checktab.awk
SCCS-SID: 1.5
Diffstat (limited to 'checktab.awk')
-rw-r--r-- | checktab.awk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/checktab.awk b/checktab.awk index 852b7d4..5f41e28 100644 --- a/checktab.awk +++ b/checktab.awk @@ -27,9 +27,14 @@ BEGIN { status = 1 } if (cc <= cc0) { + if (cc == cc0) { + s = "duplicate"; + } else { + s = "out of order"; + } + printf "%s:%d: country code `%s' is %s\n", \ - iso_table, iso_NR, cc, \ - cc==cc0 ? "duplicate" : "out of order" \ + iso_table, iso_NR, cc, s \ >>"/dev/stderr" status = 1 } |