[GRASS-user] call a script and see which command is running
Glynn Clements
glynn at gclements.plus.com
Thu Nov 13 14:32:56 EST 2008
Milton Cezar Ribeiro wrote:
> I have a script under c:/grass/scripts and I start it invoking
> GRASS MSYS Console and calling the script. But
> when I do that I can´t see which command are
> running. Is there a way of I see the command that
> are running?
If you add the command "set -x" to the top of the script, bash will
print each command as it executes it.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list