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]
        [-u EUIDLIST] [-U UIDLIST] [-G GIDLIST] [-t TERMLIST] [PATTERN]
/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

See also (un)related:
https://launchpad.net/bugs/434047

[nete...@localhost ~]$ pgrep -c
pgrep: invalid option -- 'c'
Usage: pgrep [-flvx] [-d DELIM] [-n|-o] [-P PPIDLIST] [-g PGRPLIST] [-s SIDLIST]
        [-u EUIDLIST] [-U UIDLIST] [-G GIDLIST] [-t TERMLIST] [PATTERN]
[nete...@localhost ~]$ echo $?
0

?
Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to