Reputation: 311
How can I query all labels that satisfy the list of conditions below?
locked
or obsolete
My_Attribute
containing the value myvalue
Upvotes: 1
Views: 134
Reputation: 1323653
Use cleartool lbtype -kind lbtype
combined with fmt_ccase
.
That is:
cleartool lbtype -kind lbtype -fmt "%n Lock status: %[locked]p %a"
You can the grep the content for what you are looking for
grep -v locked
grep -v obsolete
grep "My_Attribute=myvalue"
Upvotes: 1