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?
Thanks in advance
Carlos
Hi,
2007/6/28, Carlos Dávila <cdavilam@jemila.jazztel.es>:
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?
If I understand well...
E.g. (need improvements)
$ grep "G_fatal_error" * -R | grep .c: | cut -d'"' -f2
Thanks in advance
Carlos
Martin
_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev
--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *
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