>>>>> "DF" == David Ferguson <daf@cadence.com> writes:
DF> cleartool find . -exec cleartool describe -long $CLEARCASE_XPN
DF> piped through a grep for the desired replica.
Er... is this even syntactically correct? It fails for me (because of
missing quotes).
Then don't you simply need to use -all (view independent), and to get
the names back, i.e. e.g. (Korn/Posix shell syntax):
repl=inphe_dust; \
for e in $(cleartool find -all -print); \
do \
if [ -n "$(ct des -l $e | grep 'master replica: $repl')"]; \
then echo $e; \
fi; \
done
This should get you the elements, of course not the types...
--
Marc Girod P.O. Box 320 Voice: +358-9-511 23746
Nokia Networks 00045 NOKIA Group Mobile: +358-40-569 7954
Hiomo 5/1 Finland Fax: +358-9-511 23580
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:41 EDT