>>>>> "MGi" == Marc Girod <girod@shire.ntc.nokia.com> writes:
MGi> repl=inphe_dust; \
MGi> for e in $(cleartool find -all -print); \
MGi> do \
MGi> if [ -n "$(ct des -l $e | grep 'master replica: $repl')"]; \
MGi> then echo $e; \
MGi> fi; \
MGi> done
And the corrected version (I mean, one step anyway...):
export repl=inphe_dust; \
for e in $(ct find -all -print); \
do \
if [ -n "$(ct des -l $e | grep master\ replica:\ $repl)" ]; \
then echo $e; \
fi; \
done
--
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