Uttered Geert Uytterhoeven <[EMAIL PROTECTED]>, spake thus: > > There's probably a number of apps that skip the first two dirents, instead > > of checking for the dot dirs. > > Yep, check `-noleaf' in find(1)
Then it is broken in several ways. First, file systems are not required to implement ".." (only "." is magical, ".." is a courtesy). Second, skipping the first two entries carries an implied assumtion about the file name sorting order that is not portable in a non-US-ASCII world. Cheers
pgpYaUcsT6EZ0.pgp
Description: PGP signature