summaryrefslogtreecommitdiff
path: root/navit/script/wiki2def
diff options
context:
space:
mode:
Diffstat (limited to 'navit/script/wiki2def')
-rwxr-xr-xnavit/script/wiki2def4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/script/wiki2def b/navit/script/wiki2def
index bbbbb5ba2..901f6d05e 100755
--- a/navit/script/wiki2def
+++ b/navit/script/wiki2def
@@ -29,9 +29,9 @@ EOT
done
type="n"
wget -O - "http://wiki.navit-project.org/index.php/Item_def.h?action=edit" |
-awk '/<textarea/,/<\/textarea/ { print $0 }' |
+awk '/<textarea/,/<\/textarea/ { print $0 }' |
grep "^| " |
-sed -e 's/^| *//' -e 's/ *$//' -e 's/ *|/|/g' -e 's/| */|/g' -e 's/||/|/g' |
+sed -e 's/^| *//' -e 's/ *$//' -e 's/ *|/|/g' -e 's/| */|/g' -e 's/||/|/g' |
while read id item description osmtags dummy
do
if [[ "$id" == colspan=* ]]