[GRASS-SVN] r43371 - grass/branches/develbranch_6/scripts/v.in.gpsbabel

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 1 02:43:02 EDT 2010


Author: hamish
Date: 2010-09-01 06:43:02 +0000 (Wed, 01 Sep 2010)
New Revision: 43371

Modified:
   grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel
Log:
bugfix: broken awk statement

Modified: grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel	2010-09-01 01:04:29 UTC (rev 43370)
+++ grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel	2010-09-01 06:43:02 UTC (rev 43371)
@@ -590,7 +590,7 @@
     if [ "$IN_PROJ" = "$OUT_PROJ" ] || [ $KEEP_WGS84 -eq 1 ] ; then
 	g.message "No projection transformation performed" 
 	cat "${TEMPFILE}.base" | awk 'BEGIN {;} $1=="L" { print } ; \
-	    $1!="L" { " %s %s\n", $1, $2) } END {;}' > "${TEMPFILE}.P_base"
+	    $1!="L" { printf(" %s %s\n", $1, $2) } END {;}' > "${TEMPFILE}.P_base"
     else
 	g.message "Attempting waypoint projection transform with cs2cs" 
 



More information about the grass-commit mailing list