summaryrefslogtreecommitdiff
path: root/bin/ls/ls.1
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2004-07-23 00:42:23 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2004-07-23 00:42:23 +0000
commit240cc28967c76b7d64cbafbf5866fafe07f710d8 (patch)
treedb7a85454b79f4a779bcf9ba22ce7a1054b6eb7e /bin/ls/ls.1
parent5fe626d0b104267ea7cd6a3929b17dabd5ba174d (diff)
move example descriptions before the examples themselves
ok jmc
Diffstat (limited to 'bin/ls/ls.1')
-rw-r--r--bin/ls/ls.116
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 89bd2c5c330..50c2cf1765f 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.40 2003/12/08 11:33:01 jmc Exp $
+.\" $OpenBSD: ls.1,v 1.41 2004/07/23 00:42:22 jaredy Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -427,23 +427,23 @@ See
for more information.
.El
.Sh EXAMPLES
-.Li $ ls -l
+List the contents of the current working directory in long format:
.Pp
-List the contents of the current working directory in long format.
-.Pp
-.Li $ ls -lioF
+.Dl $ ls -l
.Pp
In addition to listing the contents of the current working directory in
long format, show inode numbers, file flags (see
.Xr chflags 1 ) ,
-and suffix each filename with a symbol representing its file type.
+and suffix each filename with a symbol representing its file type:
.Pp
-.Li $ ls -lt /var/log
+.Dl $ ls -lioF
.Pp
List the files in
.Pa /var/log ,
sorting the output such that the mostly recently modified entries are
-printed first.
+printed first:
+.Pp
+.Dl $ ls -lt /var/log
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chmod 1 ,