Updated references to the behaviour of ls(1).
PR: bin/6140 Submitted by: Max Euston
This commit is contained in:
parent
cbcfa1ba6a
commit
a8ce505bcb
@ -30,7 +30,7 @@
|
|||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
|
.\" @(#)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
|
.Dd March 31, 1994
|
||||||
.Dt SYMLINK 7
|
.Dt SYMLINK 7
|
||||||
@ -200,6 +200,8 @@ option is not specified),
|
|||||||
the
|
the
|
||||||
.Nm ls
|
.Nm ls
|
||||||
command follows symbolic links named as arguments if the
|
command follows symbolic links named as arguments if the
|
||||||
|
.Fl H
|
||||||
|
or
|
||||||
.Fl L
|
.Fl L
|
||||||
option is specified,
|
option is specified,
|
||||||
or if the
|
or if the
|
||||||
@ -207,16 +209,13 @@ or if the
|
|||||||
.Fl d
|
.Fl d
|
||||||
or
|
or
|
||||||
.Fl l
|
.Fl l
|
||||||
options are not specified.
|
options are not specified. (The
|
||||||
(If the
|
|
||||||
.Fl L
|
|
||||||
option is specified,
|
|
||||||
.Nm ls
|
.Nm ls
|
||||||
always follows symbolic links.
|
command is the only command where the
|
||||||
.Nm Ls
|
.Fl H
|
||||||
is the only command where the
|
and
|
||||||
.Fl L
|
.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.)
|
a file tree.)
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
@ -394,23 +393,19 @@ options.
|
|||||||
To maintain compatibility with historic systems,
|
To maintain compatibility with historic systems,
|
||||||
the
|
the
|
||||||
.Nm ls
|
.Nm ls
|
||||||
command never follows symbolic links unless the
|
command acts a little differently. If you do not specify the
|
||||||
.Fl L
|
.Fl F ,
|
||||||
flag is specified.
|
.Fl d or
|
||||||
If the
|
.Fl l
|
||||||
|
options,
|
||||||
|
.Nm ls
|
||||||
|
will follow symbolic links specified on the command line. If the
|
||||||
.Fl L
|
.Fl L
|
||||||
flag is specified,
|
flag is specified,
|
||||||
.Nm ls
|
.Nm ls
|
||||||
follows all symbolic links,
|
follows all symbolic links,
|
||||||
regardless of their type,
|
regardless of their type,
|
||||||
whether specified on the command line or encountered in the tree walk.
|
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
|
.Sh SEE ALSO
|
||||||
.Xr chflags 1 ,
|
.Xr chflags 1 ,
|
||||||
.Xr chgrp 1 ,
|
.Xr chgrp 1 ,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user