diff options
author | des <des@FreeBSD.org> | 1998-04-24 12:38:18 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1998-04-24 12:38:18 +0000 |
commit | 8047e5cea0b71ae987d9b5d875ebbd2e416bc4cc (patch) | |
tree | 824855cddef978273a7865a90001a229238d4dfb /bin/ln/symlink.7 | |
parent | fea3a33427b42df236f8e25d44b7176f4efb6208 (diff) | |
download | FreeBSD-src-8047e5cea0b71ae987d9b5d875ebbd2e416bc4cc.zip FreeBSD-src-8047e5cea0b71ae987d9b5d875ebbd2e416bc4cc.tar.gz |
Updated references to the behaviour of ls(1).
PR: bin/6140
Submitted by: Max Euston
Diffstat (limited to 'bin/ln/symlink.7')
-rw-r--r-- | bin/ln/symlink.7 | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7 index e183358..efaf21f 100644 --- a/bin/ln/symlink.7 +++ b/bin/ln/symlink.7 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)symlink.7 8.3 (Berkeley) 3/31/94 -.\" $Id: symlink.7,v 1.6 1997/06/14 18:44:03 jdp Exp $ +.\" $Id: symlink.7,v 1.7 1997/06/19 01:07:05 jdp Exp $ .\" .Dd March 31, 1994 .Dt SYMLINK 7 @@ -200,6 +200,8 @@ option is not specified), the .Nm ls command follows symbolic links named as arguments if the +.Fl H +or .Fl L option is specified, or if the @@ -207,16 +209,13 @@ or if the .Fl d or .Fl l -options are not specified. -(If the -.Fl L -option is specified, +options are not specified. (The .Nm ls -always follows symbolic links. -.Nm Ls -is the only command where the +command is the only command where the +.Fl H +and .Fl L -option affects its behavior even though it is not doing a walk of +options affect its behavior even though it is not doing a walk of a file tree.) .Pp The @@ -394,23 +393,19 @@ options. To maintain compatibility with historic systems, the .Nm ls -command never follows symbolic links unless the -.Fl L -flag is specified. -If the +command acts a little differently. If you do not specify the +.Fl F , +.Fl d or +.Fl l +options, +.Nm ls +will follow symbolic links specified on the command line. If the .Fl L flag is specified, .Nm ls follows all symbolic links, regardless of their type, whether specified on the command line or encountered in the tree walk. -The -.Nm ls -command does not support the -.Fl H -or -.Fl P -options. .Sh SEE ALSO .Xr chflags 1 , .Xr chgrp 1 , |