[GRASS-dev] [GRASS GIS] #2136: Create standard options for map or file base name (prefix)
GRASS GIS
trac at osgeo.org
Wed Jun 25 10:47:47 PDT 2014
#2136: Create standard options for map or file base name (prefix)
-----------------------------------------+----------------------------------
Reporter: wenzeslaus | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Parser | Version: svn-releasebranch64
Keywords: base name, prefix, basename | Platform: All
Cpu: All |
-----------------------------------------+----------------------------------
Comment(by wenzeslaus):
Replying to [comment:11 zarch]:
> Replying to [comment:10 annakrat]:
> > Replying to [comment:9 zarch]:
> > > Personally I like the use of a peculiar character like: », ■,
> > > or other because user should never insert such characters
> > > manually and clearly mark which maps are automatically generated
> > > my GRASS modules, and as far as I know they have not particular
> > > meaning in other system like shell, trac, etc..
> > >
> > >
> >
> > Map names can't have this weird characters, check `G_legal_filename`.
> > I still think '`__`' is the best option.
>
> Yes, I know... But we can always change what is considered legal and
what is not...
>
I would not risk anything what is non-ASCII. Moreover, it might be a good
idea to avoid also all characters which has some meaning or must be
escaped/quoted in various command lines or SQL. These include
`(){}[]:.|$!&*`.
Perhaps one underscore is enough. For GUI, it would be a big improvement
to know that there was a basename.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2136#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list