Carlos Dávila:
> > What tool may I use to extract all output messages given by a
> > certain function (e.g. G_fatal_error) in the whole grass6 cvs tree?

Martin:
> If I understand well...
> 
> E.g. (need improvements)
> 
> $ grep "G_fatal_error" * -R  | grep .c: | cut -d'"' -f2


In the past when writing new code or i18n'ing old code, to see the
already translated error msg options for a specific lib fn I've done
like:

  grep -rI -A3 G_open_cell * | grep G_fatal_error

but to save time start in the raster/ dir for eg raster msgs.


Hamish

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to