[GRASS-dev] Re: [GRASSLIST:962] Re: GRASS and vector lines: how can I change the direction of digitized lines?

Hamish hamish_nospam at yahoo.com
Sun May 21 01:55:53 EDT 2006


> > > Also I want to send most of the messages into /dev/null.
> > 
> > be careful of masking error messages.
> 
> Good point. Is there a way to only let warnings and errors get
> through while masking other messages? My v.flip outputs several
> terminals full of them.

all warnings and errors are sent to stderr. So you can redirect stdout
to "> /dev/null" without masking them. Not a total solution, but should
help. Noisy modules should consider a change to -v verbose mode flag or
moving non-interesting messages to G_debug().



Hamish




More information about the grass-dev mailing list