Hi,
I have following scenario..
set -e
eval Command 1
eval Command 2
eval Command 3
gmake realclean
but now the problem is I want to print an error message, advising user to run gmake realclean after resolving errors if any of the Command1/2/3 failed. I know I can use trap to do that but somehow its not advisable as Command1/2/3 returns range of exit codes which I cant keep a track of.
Thanks in advance,
Shri