[GRASS-dev] Unclean exit in 6.5: pgrep issue

Glynn Clements glynn at gclements.plus.com
Thu Oct 22 11:49:21 EDT 2009

Markus Neteler wrote:

> I updated 6.5 after some time and recompiled. Leaving it, I discovered:
> Closing monitors ...
> pgrep: invalid option -- 'c'
> Usage: pgrep [-flvx] [-d DELIM] [-n|-o] [-P PPIDLIST] [-g PGRPLIST] [-s SIDLIST]
> /home/neteler/grass65/dist.x86_64-unknown-linux-gnu/etc/Init.sh: line
> 1026: [: -ge: unary operator expected
> Cleaning up temporary files ...
> Done.
> pgrep -c doesn't seem to be portable (using here Mandriva 2009.1). Introduced in
> http://trac.osgeo.org/grass/changeset/39479

pgrep itself isn't remotely portable, and shouldn't be used.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list