One of my script looks as follow:
The second one calls the first ine as follow:
error $ERRORNUM $ERRORDAT
As I run the test.sh I got:
This means the $2 is wrong.
What could be the problem?