[GRASS-SVN] r43372 -
grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 1 04:54:10 EDT 2010
Author: hamish
Date: 2010-09-01 08:54:10 +0000 (Wed, 01 Sep 2010)
New Revision: 43372
Modified:
grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel
Log:
bugfix: broken awk statement (merge from devbr6)
Modified: grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel
===================================================================
--- grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel 2010-09-01 06:43:02 UTC (rev 43371)
+++ grass/branches/releasebranch_6_4/scripts/v.in.gpsbabel/v.in.gpsbabel 2010-09-01 08:54:10 UTC (rev 43372)
@@ -563,7 +563,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"
cs2cs -tL -f %.7f $IN_PROJ +to $OUT_PROJ < "${TEMPFILE}.base" > "${TEMPFILE}.P_mid"
More information about the grass-commit
mailing list