[GRASS-dev] r.timestamp script style output wish
Hamish
hamish_b at yahoo.com
Wed Oct 6 16:22:46 EDT 2010
Markus Neteler wrote:
> >> How could -g and -n be implemented?
Hamish:
> > add a new
> > G__write_timestamp2(FILE *, const struct TimeStamp *,
> > int shell_style, int numeric)
> >
> > then apply booleans at runtime?
>
> Maybe yes but I still would not know how to hijack the
> output of G__write_timestamp[2]().
the point is that you wouldn't have to. G__write_timestamp2()
could do the alpha->int internally and render it in the way you
wanted up front.
Hamish
More information about the grass-dev
mailing list