[GRASS-dev] [GRASS GIS] #2445: r.mask -r removal not working in GRASS 7.1 svn r.62210

#2445: r.mask -r removal not working in GRASS 7.1 svn r.62210
--------------------------+-------------------------
  Reporter: baharmon | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.mask
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------

Comment (by mlennert):

Could anyone test this on Windows, i.e. create a raster file named mask
(lowercase) and then attempt 'g.remove type=rast pattern=MASK -f' and
'g.remove -i type=rast pattern=MASK' ?

And if the first doesn't work, but the second does could the following
lines in r.mask:

{{{
             grass.run_command('g.remove', flags='f', quiet=True,
                               type='raster', name='MASK')
}}}

be replaced by

{{{
             grass.run_command('g.remove', flags='fi', quiet=True,
                               type='raster', name='MASK')

}}}

if we are in Windows ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2445#comment:9&gt;
GRASS GIS <https://grass.osgeo.org>