[GRASS5] MacOSX file name recognition bug in G6?
Markus Neteler
neteler at itc.it
Thu Apr 21 09:35:37 EDT 2005
Hi,
today I worked on a colleague's MacOSX. Surprisingly I had
the following problem:
#Remove MASK:
GRASS 6.1.cvs (pat_gaussboaga):~ > g.remove MASK
REMOVE [MASK]
raster
header
category
color
history
misc
fcell MISSING
g3dcell MISSING
#create file with name 'mask' (but not MASK):
GRASS 6.1.cvs (pat_gaussboaga):~ > r.mapcalc "mask=if(isnull(po06_snow007),null(),1)"
100%
[Raster MASK present]
-> ouch.
GRASS 6.1.cvs (pat_gaussboaga):~/0.875/SCRIPTS/geotop0.875 > g.copy mask,MASK
ERROR: <MASK> already exists
[Raster MASK present]
Is MacOSX unable to distinguish between mask and MASK?
######################
Test in Linux:
GRASS 6.1.cvs (spearfish60):~ > r.mapcalc "mask=1"
100%
GRASS 6.1.cvs (spearfish60):~ > g.copy mask,MASK
COPY [mask at PERMANENT] to current mapset as [MASK]
raster
header
category
color MISSING
history
misc
fcell MISSING
g3dcell MISSING
[Raster MASK present]
-> works ok.
######################
Surprised,
Markus
More information about the grass-dev
mailing list