summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2017-05-22 15:51:17 +0000
committergjb <gjb@FreeBSD.org>2017-05-22 15:51:17 +0000
commit77e420848add6606fbfaeac5ee9dfbd8fe5c1287 (patch)
tree887e8c0a7b28c4fa0e18bdd56cb12cf35c4ce35c
parent7f551ef517dd5d367a98e2a16c989c9cc1a7e3b6 (diff)
downloadFreeBSD-src-77e420848add6606fbfaeac5ee9dfbd8fe5c1287.zip
FreeBSD-src-77e420848add6606fbfaeac5ee9dfbd8fe5c1287.tar.gz
MFC r313955 (emaste):
bsdgrep: document ignored option -u MSDOS and Windows GNU grep uses -u to mean "print byte offsets as if running on an UNIX system." The option has no effect on systems that do not use CRLF line endings. PR: 171200 Sponsored by: The FreeBSD Foundation
-rw-r--r--usr.bin/grep/grep.12
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index 9e8633f..0cc759d 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -352,6 +352,8 @@ Nonexistent and unreadable files are ignored
(i.e. their error messages are suppressed).
.It Fl U , Fl Fl binary
Search binary files, but do not attempt to print them.
+.It Fl u
+This option has no effect and is provided only for compatibility with GNU grep.
.It Fl V , Fl Fl version
Display version information and exit.
.It Fl v , Fl Fl invert-match
OpenPOWER on IntegriCloud