Hamish wrote:
>
> ps- v.rast.stats2 from svn addons should now be working for all
>
Unfortunately not, I still get an awk error about an unterminated string.

Now that the shebang is #!/bin/bash, is the original way to create an
array now safe?

--- v.rast.stats2       (revision 44471)
+++ v.rast.stats2       (working copy)
@@ -347,7 +347,7 @@
 done

 # create array with new column names
-col=`cat "$COLNAMETMP" | tr '\n' ' '`
+col=(`cat "$COLNAMETMP" | tr '\n' ' '`)

 # create SQL file for extended and normal statistics
 g.message -v "Creating SQL file ..."


Markus M
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to