diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-04-24 12:38:18 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-04-24 12:38:18 +0000 |
commit | a8ce505bcb36f0658f2169e1fea01425b572a466 (patch) | |
tree | edf4aa6657d1a2de28c17e070e8eeda9a7ab94fb /bin/ln/symlink.7 | |
parent | cbcfa1ba6ab892b56a3341e0fc1478114053ed0e (diff) | |
download | src-a8ce505bcb36f0658f2169e1fea01425b572a466.tar.gz src-a8ce505bcb36f0658f2169e1fea01425b572a466.zip |
Updated references to the behaviour of ls(1).
PR: bin/6140
Submitted by: Max Euston
Notes
Notes:
svn path=/head/; revision=35425
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 e18335887481..efaf21ff11ba 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 , |