[GRASS-dev] r44766: v.what: cosmetics in output (empty lines)

Glynn Clements glynn at gclements.plus.com
Wed Dec 29 19:24:53 EST 2010


Hamish wrote:

> anything written to stdout is fair game for people to parse with
> scripts, and rightly or wrongly people will be parsing using
> the default output instead of -g, and using brittle ways like
> `head` and `tail` instead of grep, and these cosmetic changes
> will definitely will break their personal scripts.

I disagree. If a module has a -g flag, scripts which parse the
"human readable" format are already broken. E.g. much of the output
from v.what (without the -g flag) is localised, so simply changing
the message catalogues (or LC_MESSAGES) will break the script.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list