> > > ------------------------------------------------ > > > A="/cvs/proj/src" > > > B="/code" > > > find "$A/" |while read line; do > > > X=$(echo "$line"|cut -d/ -f6-); > > > > X=$(echo "$line"|baseline); > > Argh, that should have been: > > > X=$(echo "$line"|basename); > > > > > > ln -s "$line" "$B/$X"; > > > done > > > /Allan >
Thanks Allan and Kevin. My situation is a bit more complicated than what I let on, but this gave me enough to start. Thanks again...quick replies too! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]