[GRASS-dev] Re: gis.m crashes on zoom to map existing in more than one mapset

Paul Kelly paul-grass at stjohnspoint.co.uk
Thu Jan 4 10:44:10 EST 2007


On Thu, 4 Jan 2007, Michael Barton wrote:

> scripts. A warning at the beginning of output for scripting cannot easily be
> parsed. The warning should be for the format that is to be read by humans.

Just to point out, a warning shouldn't really have to be easily parsed - 
warnings and related messages always go to stderr while only parseable 
output should go to stdout. It is only because of a design flaw in Tcl 
that we have to merge stderr and stdout, thus greatly complicating things 
- using most any other system for parsing the warnings wouldn't go near 
stdout and we wouldn't even have to worry about them.

I agree that this warning in particular is an anomaly though - it has been 
discussed on the list before.

Paul




More information about the grass-dev mailing list