I am running all ClearCase commands in shell script and every command is redirecting output to a file:
cleartool diffbl -act -ver label1 label2 >& data.txt
cleartool diffbl -baselines label1 label2 >& data.txt
cleartool diffbl -elements label1 label2 >& data.txt
The issue is that all commands are running fine and generating diff log files, but it's not appending the output in same file.
Please anyone suggest how to proceed ?
I have tried with >> Also it's not working .. it's generating output in diff files. I need single output file for all commands .