summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-29 19:36:59 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-29 19:36:59 +0000
commit037d23bb4188a109a2644df69348f65bded0f9b9 (patch)
tree5ecd98775fbbef05628d79ac756a0d03beab9f40 /bin
parent341f480461573d9cb8ff283a7ff1b71899bde4d5 (diff)
- section reorder
- merge COMPATIBILITY into STANDARDS - kill unneeded Ns macros - replace reference to itself with .Nm
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/ls.154
1 files changed, 27 insertions, 27 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index d3df7b621a4..51d11f70205 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ls.1,v 1.34 2003/03/12 20:12:35 deraadt Exp $
+.\" $OpenBSD: ls.1,v 1.35 2003/05/29 19:36:58 jmc Exp $
.\" $NetBSD: ls.1,v 1.14 1995/12/05 02:44:01 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@@ -128,7 +128,7 @@ symbolic links in the argument list are not indirected through.
Output is not sorted.
.It Fl g
Does nothing; kept for compatibility with older versions of
-.Xr ls 1 .
+.Nm ls .
.It Fl i
For each file, print its inode number.
.It Fl k
@@ -140,7 +140,7 @@ Overrides any value specified by the
environment variable.
.It Fl l
(The lowercase letter
-.Dq ell. Ns )
+.Dq ell. )
List in long format (see below).
If the output is to a terminal, a total sum of all file
sizes is output on a line before the long listing.
@@ -189,7 +189,7 @@ or printing
Multi-column output sorted across the page rather than down the page.
.It Fl \&1
(The numeric digit
-.Dq one. Ns )
+.Dq one. )
Force output to be one entry per line.
This is the default when
output is not to a terminal.
@@ -393,24 +393,6 @@ system immutable
The
.Nm
utility exits 0 on success or >0 if an error occurred.
-.Sh EXAMPLES
-.Li $ ls -l
-.Pp
-List the contents of the current working directory in long format.
-.Pp
-.Li $ ls -lioF
-.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.
-.Pp
-.Li $ ls -lt /var/log
-.Pp
-List the files in
-.Pa /var/log ,
-sorting the output such that the mostly recently modified entries are
-printed first.
.Sh ENVIRONMENT
.Bl -tag -width BLOCKSIZE
.It Ev BLOCKSIZE
@@ -440,17 +422,35 @@ See
.Xr environ 7
for more information.
.El
-.Sh COMPATIBILITY
-The group field is now automatically included in the long listing for
-files in order to be compatible with the
-.St -p1003.2
-specification.
+.Sh EXAMPLES
+.Li $ ls -l
+.Pp
+List the contents of the current working directory in long format.
+.Pp
+.Li $ ls -lioF
+.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.
+.Pp
+.Li $ ls -lt /var/log
+.Pp
+List the files in
+.Pa /var/log ,
+sorting the output such that the mostly recently modified entries are
+printed first.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chmod 1 ,
.Xr symlink 7 ,
.Xr sticky 8
.Sh STANDARDS
+The group field is now automatically included in the long listing for
+files in order to be compatible with the
+.St -p1003.2
+specification.
+.Pp
The
.Nm
utility is expected to be a superset of the