RTFM: was Re: Should find traverse symbolic links?

Root Boy Jim rbj at uunet.UU.NET
Tue Feb 26 16:27:36 AEST 1991


In article <6817 at mentor.cc.purdue.edu> asg at sage.cc.purdue.edu (The Grand Master) writes:
?>In article <1991Feb25.130613.2553 at phri.nyu.edu> roy at alanine.phri.nyu.edu (Roy Smith) writes:
?>>	I was surprised to observe today that if you do "find dir ..." and
?>>dir is a symbolic link to a directory, the directory isn't entered.
?There is an option to find (at least under dynix's version of BSD4.3)
?called -follow. This option allows the descent of find into symlink 
?directories.
?				The Grand Master
?					Bruce

The answer is no, find should not traverse symlinks.
Unless you tell it to. GNU find also uses -follow. 

And BTW, Sequent has yet to produce a version of BSD4.3.
For a good time, see the discussion in comp.sys.sequent.
-- 
		[rbj at uunet 1] stty sane
		unknown mode: sane



More information about the Comp.unix.wizards mailing list