Joe Pruett <joey at tessi.UUCP> writes in alt.sources: > A quick hack I've used in a directory traversal program is to use the > link count of . to determine how many subdirectories there are. A clever trick. Worth keeping in mind that it won't work for symbolic links (usually you don't want it to anyway).