On Sat, Nov 27, 2010 at 5:42 PM, Markus Neteler <[email protected]> wrote: > On Sat, Nov 27, 2010 at 5:37 PM, <[email protected]> wrote: >> No...same error >> /usr/local/grass-6.5.svn/scripts/v.rast.stats2: 350: Syntax error: "(" >> unexpected > > The line looks like this: > > # create array with new column names > col=( `cat "$COLNAMETMP" | tr '\n' ' '` ) > > This looks like a bash-ism. In case that /bin/sh isn't bash > on Sab's machine but another shell it is likely to fail. > Hmm. Since you (Markus N) are listed as main author and I merely try to promote v.rast.stats2, and my knowledge of scripting is limited to bash, do you have a suggestion about how to make this portable to non-bash?
Markus M _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
