=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/grep/grep.1,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- src/usr.bin/grep/grep.1 2010/04/05 03:03:55 1.37 +++ src/usr.bin/grep/grep.1 2010/04/05 06:30:59 1.38 @@ -1,4 +1,4 @@ -.\" $OpenBSD: grep.1,v 1.37 2010/04/05 03:03:55 tedu Exp $ +.\" $OpenBSD: grep.1,v 1.38 2010/04/05 06:30:59 jmc Exp $ .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -61,6 +61,7 @@ An empty expression matches every line. Each input line that matches at least one of the patterns is written to the standard output. +If no file arguments are specified, the standard input is used. .Pp .Nm grep is used for simple patterns and @@ -282,13 +283,12 @@ and block buffered otherwise. .Pp .El -If no file arguments are specified, the standard input is used. -.Sh RETURN VALUES +.Pp The .Nm grep utility exits with one of the following values: .Pp -.Bl -tag -width flag -compact +.Bl -tag -width Ds -offset indent -compact .It Li 0 One or more lines were selected. .It Li 1