summaryrefslogtreecommitdiff
path: root/usr.bin/look/look.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/look/look.1')
-rw-r--r--usr.bin/look/look.112
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1
index 902cf96a790..1cee52c29b7 100644
--- a/usr.bin/look/look.1
+++ b/usr.bin/look/look.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: look.1,v 1.3 1998/09/26 19:55:01 aaron Exp $
+.\" $OpenBSD: look.1,v 1.4 1999/06/05 01:21:32 aaron Exp $
.\" $NetBSD: look.1,v 1.3 1994/12/23 01:10:59 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -47,15 +47,15 @@
.Ar string
.Op Ar file
.Sh DESCRIPTION
-The
-.Nm look
+The
+.Nm
utility displays any lines in
.Ar file
which contain
.Ar string
as a prefix.
As
-.Nm look
+.Nm
performs a binary search, the lines in
.Ar file
must be sorted.
@@ -84,7 +84,7 @@ are compared.
.El
.Pp
The
-.Nm look
+.Nm
utility exits 0 if one or more lines were found and displayed,
1 if no lines were found, and >1 if an error occurred.
.Sh FILES
@@ -103,5 +103,5 @@ option was specified.
This was incorrect and the current man page matches the historic
implementation.
.Sh HISTORY
-.Nm look
+.Nm
appeared in Version 7 AT&T Unix.