[EMAIL PROTECTED] wrote: > You'd be better off with.... > > cd / > find ./ -type d -print | wc -l > > :-)
That's the joy of Linux - more than 101 ways to skin a cat :o) I tried timing the ls and find commands and came up with this : * ls -lR | grep ^d | wc -l 11.735 seconds of real time to find 2,889 directories * find ./ -type d -print | wc -l 1.133 seconds to find 3,451 directories. So, not only is find much faster, it finds more directories too. Hmmm. Further investigation required methinks. Cheers, Norman. _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
