Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ls Document -L correctly. PR #30430.



details:   https://anonhg.NetBSD.org/src/rev/f236d4681f66
branches:  trunk
changeset: 583584:f236d4681f66
user:      elad <elad%NetBSD.org@localhost>
date:      Sat Aug 13 15:59:28 2005 +0000

description:
Document -L correctly. PR #30430.

diffstat:

 bin/ls/ls.1 |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r fbee7d1cafd4 -r f236d4681f66 bin/ls/ls.1
--- a/bin/ls/ls.1       Sat Aug 13 14:55:39 2005 +0000
+++ b/bin/ls/ls.1       Sat Aug 13 15:59:28 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ls.1,v 1.52 2005/06/17 14:40:47 hira Exp $
+.\"    $NetBSD: ls.1,v 1.53 2005/08/13 15:59:28 elad Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     @(#)ls.1       8.7 (Berkeley) 7/29/94
 .\"
-.Dd May 11, 2005
+.Dd August 13, 2005
 .Dt LS 1
 .Os
 .Sh NAME
@@ -139,8 +139,11 @@
 See also
 .Fl h .
 .It Fl L
-If argument is a symbolic link, list the file or directory the link references
-rather than the link itself.
+For each file, if it's a link, evaluate file information and file type
+of the referenced file and not the link itself; however still print
+the link name, unless used with
+.Fl l ,
+for example.
 .It Fl l
 (The lowercase letter
 .Dq ell ) .



Home | Main Index | Thread Index | Old Index