It would be nice if gsh commands returned a value: 0 for OK, or some error code.
The problem is that gsh check will also do a clean and an init.
One possibility would be to have different function used different bits in the return value:
- lsb for
check - bit 1 for
init - bit 2 for
test - bit 3 for
static - bit 4 for
goal - bit 5 for
treasure - bit 6 for
treasure-msg
We'll have one last bit to use for something else!
It would be nice if
gshcommands returned a value:0for OK, or some error code.The problem is that
gsh checkwill also do acleanand aninit.One possibility would be to have different function used different bits in the return value:
checkinitteststaticgoaltreasuretreasure-msgWe'll have one last bit to use for something else!