Using cleartool on a bash command line, I'd like to find for a given element, all the versions numbered 0, whichever the branches holding them.
The problem is that, as far as I can say, the "cleartool find" command requires at least specific branch-name in its version-selector:
=> This works: cleartool find MyElem -version "version(.../MyBranch/0)" -print
=> Whereas this doesn't: cleartool find MyElem -version "version(.../0) -print
The only solution I've got so far is to parse the version tree. It works but it is quite slow when ran on a long list of elements:
cleartool lsvtree -all -s MyElem | grep -e '/0$'
Does anyone know a smarter solution?
Many thanks in advance.