Hamish wrote: > can anyone think of a case where "-" would ever be used as an > arbitrary string, not meaning stdin? > I guess it is a similar probability to someone wanting to use a > literal "-" as a file or map name. g.message is all I can think > of, but that's not used in the gui menu.
"-" doesn't have to be special-cased for all options, only for options with gisprompt == "old,file,input" (output=- isn't a problem). If an old,file,input option has a default value of "-", the GUI should discard the default. -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
