I am trying to execute multiple commands in one shot but to my surprise only the first command is getting executed and the rest are skipped. And the command is
I don't have access to Clearcase to try things out but sometimes from past experience, you will need to RTFM, such tools with either accept a reverse pipe or an input script file, look in the documentation for syntax such as:
Cleartool < echo
command_sequence
echo
command_sequence | Cleartool -
or
Cleartool -f
inputfile or command sequence or
Cleartool -c
inputfile or command sequence or
Cleartool run
inputfile or command sequence or
If you do find some variant of the above does the trick please let us know by posting your own answer so that the next person with the problem can benefit.