[GRASS-dev] Merging stdout and stderr
hamish_nospam at yahoo.com
Thu Nov 16 02:06:07 EST 2006
Glynn Clements wrote:
> > 2. Might it be a worthwhile idea to include a simple program with GRASS
> > that did this (copies everything from stdin to stdout) so we can be sure
> > what's going on?
> I suggest the latter, i.e. write our own mini-"cat" program. It will
> need to explicitly put stdin/stdout into line-buffered mode (pipes are
> block-buffered by default).
lib/init/echo.c -> $GISBASE/etc/echo
funny that that outputs to stderr..
More information about the grass-dev