for i in *
do
if [-d $i]; then
cd $i
and so on, but the third line obviously has the wrong syntax, as I get "[!: command not found". Any ideas?
Sir Robin
-- “Doubt is not a pleasant condition, but certainty is absurd.” - Voltaire
Robin Turner IDMYO Bilkent Universitesi Ankara 06533 Turkey
www.bilkent.edu.tr/~robin
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________