Should "ls -R" traverse symlinks?
Karl Kleinpaste
karl at triceratops.cis.ohio-state.edu
Thu May 11 22:45:18 AEST 1989
Given a directory which contains entries like this ("ls -l"):
total 2
drwxr-xr-x 2 karl 24 May 11 08:41 real-directory
lrwxrwxrwx 1 karl 15 May 11 08:41 netnews -> /usr/spool/news
On a Sun3 running SunOS 3.5.1, "ls -R" does not traverse the "netnews"
symlink.
On a Pyramid running OSx 4.[04], "ls -R" *does* traverse the symlink.
Which is right?
--Karl
More information about the Comp.unix.wizards
mailing list