Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/grep Remove traces of old -o.



details:   https://anonhg.NetBSD.org/src/rev/a7d9bade4b6d
branches:  trunk
changeset: 542338:a7d9bade4b6d
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jan 26 23:38:50 2003 +0000

description:
Remove traces of old -o.

diffstat:

 gnu/dist/grep/doc/grep.texi |  7 ++-----
 gnu/dist/grep/src/grep.c    |  3 +--
 2 files changed, 3 insertions(+), 7 deletions(-)

diffs (43 lines):

diff -r 36569cd31e25 -r a7d9bade4b6d gnu/dist/grep/doc/grep.texi
--- a/gnu/dist/grep/doc/grep.texi       Sun Jan 26 23:32:21 2003 +0000
+++ b/gnu/dist/grep/doc/grep.texi       Sun Jan 26 23:38:50 2003 +0000
@@ -1,5 +1,5 @@
 \input texinfo  @c -*-texinfo-*-
-@c $NetBSD: grep.texi,v 1.7 2003/01/26 23:30:44 wiz Exp $
+@c $NetBSD: grep.texi,v 1.8 2003/01/26 23:38:50 wiz Exp $
 @c %**start of header
 @setfilename grep.info
 @settitle grep, print lines matching a pattern
@@ -342,14 +342,11 @@
 recursively; this is equivalent to the @samp{-r} option.
 
 @item -H
-@itemx -o
 @itemx --with-filename
 @opindex -H
-@opindex -o
 @opindex --With-filename
 @cindex with filename prefix
-Print the filename for each match. @samp{-o} has been added to NetBSD's grep
-for 4.4BSD compatibility.
+Print the filename for each match.
 
 @item -h
 @itemx --no-filename
diff -r 36569cd31e25 -r a7d9bade4b6d gnu/dist/grep/src/grep.c
--- a/gnu/dist/grep/src/grep.c  Sun Jan 26 23:32:21 2003 +0000
+++ b/gnu/dist/grep/src/grep.c  Sun Jan 26 23:38:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grep.c,v 1.8 2003/01/26 23:30:45 wiz Exp $     */
+/*     $NetBSD: grep.c,v 1.9 2003/01/26 23:38:52 wiz Exp $     */
 
 /* grep.c - main driver file for grep.
    Copyright 1992, 1997-1999, 2000 Free Software Foundation, Inc.
@@ -1083,7 +1083,6 @@
   -n, --line-number         print line number with output lines\n\
       --line-buffered       flush output on every line\n\
   -H, --with-filename       print the filename for each match\n\
-  -o                        print the filename for each match (BSD 4.4 compat)\n\
   -h, --no-filename         suppress the prefixing filename on output\n\
       --label=LABEL         print LABEL as filename for standard input\n\
   -o, --only-matching       show only the part of a line matching PATTERN\n\



Home | Main Index | Thread Index | Old Index