[GRASS5] [GRASS-bugs] Bugreport GRASS 5

Below is the result of your feedback form. It was submitted by
(aaime@comune.modena.it) on Monday, November 20, 2000 at 11:07:02
---------------------------------------------------------------------------

subject: Bugreport GRASS 5

platform: Linux/Intel

vendor: RedHat

cputype: Intel (i486, i586, pentium ...)

grassversion: Linux/Intel binaries

cvsyesno: -- select --

module: r.mapcalc

bugreport: r.mapcalc exit status is always the same (0) even if it found some errors in the expression. That's not good if you use it in a script!
I guess it should at least report an error status if the last expression wasn't correct or it found any other run time problem.

compiler: -- select --

name: Andrea Aime

---------------------------------------------------------------------------

REMOTE_HOST: comnet.comune.modena.it

----------------------------------------
If you want to unsubscribe from grass-bugs
mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass-bugs'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

this is fixed now.
Only a missing else statement.
But only the status of the _last_ expression is returned. Else the
module must exit on any error, what is not desirable.

Andreas

aaime@comune.modena.it wrote:

Below is the result of your feedback form. It was submitted by
(aaime@comune.modena.it) on Monday, November 20, 2000 at 11:07:02
---------------------------------------------------------------------------

subject: Bugreport GRASS 5

platform: Linux/Intel

vendor: RedHat

cputype: Intel (i486, i586, pentium ...)

grassversion: Linux/Intel binaries

cvsyesno: -- select --

module: r.mapcalc

bugreport: r.mapcalc exit status is always the same (0) even if it found some errors in the expression. That's not good if you use it in a script!
I guess it should at least report an error status if the last expression wasn't correct or it found any other run time problem.

compiler: -- select --

name: Andrea Aime

---------------------------------------------------------------------------

REMOTE_HOST: comnet.comune.modena.it

----------------------------------------
If you want to unsubscribe from grass-bugs
mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass-bugs'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'