[GRASS-dev] [bug #5499] (grass) bash scripts starting with #!/bin/sh

Hamish hamish_nospam at yahoo.com
Mon Feb 19 21:42:24 EST 2007


> > I experienced problems with Ubuntu 6.10 installation. The r.in.wms
> > script refused to work with errors like this:
> > /usr/lib/grass/etc/r.in.wms//wms.request: 326: SIZE_ARRAY[0]=: not
> > found


The broken PROJ_UNITS parsing in r.tileset is fixed in 6.3 CVS and
backported to the 6.2.x branch.


The bash vs. ash issue in r.in.wms is not fixed.


is this valid Bourne sh or is it a Bash extension?

SIZE_ARRAY[0]=""

this link indicates that they are Bash only:
  http://tldp.org/LDP/abs/html/arrays.html

more on arrays (concept is new to me)
  http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_10_02.html


Hamish




More information about the grass-dev mailing list