[GRASS5] C string question

v.labels will produce a string like "upper,left" for the ref= option.

the label file needs a space not a comma, thus we need to do a
`tr ',' ' '` style cleansing of that.

How is this done? strchr()? code-snippet example?

thanks,
Hamish

ps - v.label, ps.map, and d.paint.labels all now support setting a
standard fontsize as well as the old size based on map units. Everything
should be backwards compatible.

v.labels will produce a string like "upper,left" for the ref= option.

the label file needs a space not a comma, thus we need to do a
`tr ',' ' '` style cleansing of that.

How is this done? strchr()? code-snippet example?

never mind, I got it. G_parser()'s already doing it for us.

It would be nice if opt->answers[i] had a opt->(int)n_answers.

Hamish