开发者

cleartool lsstream -tree get only list of child streams

开发者 https://www.devze.com 2023-02-17 18:29 出处:网络
I want to list get list of child stream开发者_StackOverflow社区s under a given stream. cleartool lsstream -tree gets all streams and activities under it.

I want to list get list of child stream开发者_StackOverflow社区s under a given stream.

cleartool lsstream -tree gets all streams and activities under it.

How can print only the stream-names?


Use fmt_ccase to mention exactly the kind of information you want:

cleartool describe -fmt "%[dstreams]CXp" stream:myStream@\myPVob

That would give you one line of:

stream:streamA@MyPvob, stream:streamC@MyPvob, stream:streamC@MyPvob, ...

So there would still be a bit of processing to do, but at least you would have only what you were after: the child streams of a given Stream.

0

精彩评论

暂无评论...
验证码 换一张
取 消