summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-05-08 13:36:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-05-08 13:36:35 +0000
commit9a4e4dd58834edf37ab6121b335025028b20206e (patch)
tree527b651cdf45c143c5c274cc2eeceeefb5d3b1d9
parent7bd38fc321ecaf30935d9c45b0ed23305d25a0b6 (diff)
small update, now that -g does something; ok millert
-rw-r--r--bin/ls/ls.127
1 files changed, 19 insertions, 8 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index eec8842bf8c..cf9b0f2d42c 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.48 2007/05/07 18:39:28 millert Exp $
+.\" $OpenBSD: ls.1,v 1.49 2007/05/08 13:36:34 jmc Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -88,7 +88,9 @@ Use time file's status was last changed instead of last modification
time for sorting
.Pq Fl t
or printing
-.Pq Fl l , Fl n .
+.Pf ( Fl g , l ,
+or
+.Fl n ) .
.It Fl d
Directories are listed as plain files (not searched recursively) and
symbolic links in the argument list are not indirected through.
@@ -149,7 +151,9 @@ List in long format as in
but retain user and group IDs in a numeric format.
.It Fl o
Include the file flags in a long format
-.Pq Fl l , Fl n
+.Pf ( Fl g , l ,
+or
+.Fl n )
output.
.It Fl p
Display a slash
@@ -179,7 +183,9 @@ environment variable.
Display complete time information for the file, including
month, day, hour, minute, second, and year.
This option has no effect unless one of the long format
-.Pq Fl l , Fl n
+.Pf ( Fl g , l ,
+or
+.Fl n )
options is also specified.
.It Fl t
Sort by time modified (most recently modified
@@ -191,7 +197,9 @@ instead of last modification time
for sorting
.Pq Fl t
or printing
-.Pq Fl l , Fl n .
+.Pf ( Fl g , l ,
+or
+.Fl n ) .
.It Fl x
Multi-column output sorted across the page rather than down the page.
.El
@@ -244,7 +252,8 @@ and
options.
.Ss The Long Format
If the
-.Fl l
+.Fl g ,
+.Fl l ,
or
.Fl n
options are given, the following information
@@ -252,7 +261,8 @@ is displayed for each file:
mode,
number of links,
owner,
-group,
+group (though not for
+.Fl g ) ,
size in bytes,
time of last modification
.Pq Dq mmm dd HH:MM ,
@@ -286,7 +296,8 @@ linked-to file is preceded by
.Dq \-\*(Gt .
.Pp
The file mode printed under the
-.Fl l
+.Fl g ,
+.Fl l ,
or
.Fl n
options consists of the entry type, owner permissions, group permissions,