I always use a grep, but I just test in command line (on Windows). This works:
cleartool lsview prefix_*
In other word, I never had to escape the '*
'. This doesn't work:
cleartool lsview prefix_\*
cleartool: Error: Invalid view tag: "prefix_\*".
It can depend on how the shell will interpret the '*', as in this similar bug.
Under Unix, you might want to avoid a premature interpretation of the '*' (wildcard expansion) with double-quotes:
cleartool lsview "prefix_*"
The OP user2606240 reports in the comments:
As soon as the
_
is in the view name I get the error message.
As far as I understood the registry and registered views that should not be the case.
I think I'll just implement thegrep
afterlsview
and live with it.