diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-04-02 18:40:10 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-04-02 18:40:10 +0000 |
commit | ccda9db1730ec5b10b3baa0a7398bd0309ec6659 (patch) | |
tree | 894ae30f152302fa7fd545a7987625ca82a34089 /usr.bin | |
parent | f4bfae6870ffdad1537fb6dd1d9c4731d979962f (diff) |
Document --line-buffered
ok jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/grep/grep.1 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1 index 92bf5304100..34acdebb9fc 100644 --- a/usr.bin/grep/grep.1 +++ b/usr.bin/grep/grep.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: grep.1,v 1.23 2004/03/15 08:54:27 tedu Exp $ +.\" $OpenBSD: grep.1,v 1.24 2004/04/02 18:40:09 otto Exp $ .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -40,6 +40,7 @@ .Op Fl CEFGHILPRSUVZabchilnoqsvwx .Op Fl -context Ns Op = Ns Ar num .Op Fl -binary-files Ns = Ns Ar value +.Op Fl -line-buffered .Op Fl e Ar pattern .Op Fl f Ar file .Op Ar pattern @@ -229,6 +230,12 @@ do not search binary files; and .Ar text , treat all files as text. +.Sm off +.It Fl Fl line-buffered +.Sm on +Force output to be line buffered. +By default, output is line buffered when standard output is a terminal +and block buffered otherwise. .Pp .El If no file arguments are specified, the standard input is used. |