From a8ce505bcb36f0658f2169e1fea01425b572a466 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 24 Apr 1998 12:38:18 +0000 Subject: [PATCH] Updated references to the behaviour of ls(1). PR: bin/6140 Submitted by: Max Euston --- bin/ln/symlink.7 | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7 index e1833588748..efaf21ff11b 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 , -- 2.45.2