summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-table.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-table.sh b/tools/make-table.sh
index e4a3963b..5dbefb13 100755
--- a/tools/make-table.sh
+++ b/tools/make-table.sh
@@ -8,7 +8,7 @@ for i in maps/* ; do
README | CVS)
;;
*)
- cat $i | grep -v '^#' | awk "{ printf \"%s %s:%s\\n\", \$2, \"$name\", \$1 }" >> table.tmp
+ cat $i | grep -v '^#' | sed -e 's/[:space:]*#.*$//' | awk "{ printf \"%s %s:%s\\n\", \$NF, \"$name\", \$1 }" >> table.tmp
;;
esac
done