grep-commit
[Top][All Lists]
Advanced

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

Changes to doc/grep_2.html


From: Karl Berry
Subject: Changes to doc/grep_2.html
Date: Sun, 24 May 2009 18:43:15 +0000

CVSROOT:        /web/grep
Module name:    grep
Changes by:     Karl Berry <karl>       09/05/24 18:43:01

Index: doc/grep_2.html
===================================================================
RCS file: doc/grep_2.html
diff -N doc/grep_2.html
--- doc/grep_2.html     23 Jan 2002 10:33:52 -0000      1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,178 +0,0 @@
-<HTML>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- Created on January, 23  2002 by texi2html 1.64 -->
-<!-- 
-Written by: Lionel Cons <address@hidden> (original author)
-            Karl Berry  <address@hidden>
-            Olaf Bachmann <address@hidden>
-            and many others.
-Maintained by: Olaf Bachmann <address@hidden>
-Send bugs and suggestions to <address@hidden>
- 
--->
-<HEAD>
-<TITLE>grep, print lines matching a pattern: Invoking</TITLE>
-
-<META NAME="description" CONTENT="grep, print lines matching a pattern: 
Invoking">
-<META NAME="keywords" CONTENT="grep, print lines matching a pattern: Invoking">
-<META NAME="resource-type" CONTENT="document">
-<META NAME="distribution" CONTENT="global">
-<META NAME="Generator" CONTENT="texi2html 1.64">
-
-</HEAD>
-
-<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" 
ALINK="#FF0000">
-
-<A NAME="SEC2"></A>
-<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
-<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_1.html#SEC1"> &lt; 
</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_3.html#SEC3"> &gt; </A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A 
HREF="grep_5.html#SEC5"> &lt;&lt; </A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep.html#SEC_Top"> Up </A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_5.html#SEC5"> &gt;&gt; 
</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> 
&nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" 
ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A 
HREF="grep.html#SEC_Top">Top</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A 
HREF="grep_toc.html#SEC_Contents">Contents</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_21.html#SEC21">Index</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_abt.html#SEC_About"> ? 
</A>]</TD>
-</TR></TABLE>
-<HR SIZE=1>
-<H1> 2. Invoking <CODE>grep</CODE> </H1>
-<!--docid::SEC2::-->
-<P>
-
-<CODE>grep</CODE> comes with a rich set of options from POSIX.2 and GNU
-extensions.
-</P><P>
-
-<DL COMPACT>
-
-<DT><SAMP>`-c'</SAMP>
-<DD><DT><SAMP>`--count'</SAMP>
-<DD><A NAME="IDX2"></A>
-<A NAME="IDX3"></A>
-<A NAME="IDX4"></A>
-Suppress normal output; instead print a count of matching
-lines for each input file.  With the <SAMP>`-v'</SAMP>, 
<SAMP>`--invert-match'</SAMP> option,
-count non-matching lines.
-<P>
-
-<DT><SAMP>`-e <VAR>pattern</VAR>'</SAMP>
-<DD><DT><SAMP>`--regexp=<VAR>pattern</VAR>'</SAMP>
-<DD><A NAME="IDX5"></A>
-<A NAME="IDX6"></A>
-<A NAME="IDX7"></A>
-Use <VAR>pattern</VAR> as the pattern; useful to protect patterns
-beginning with a <SAMP>`-'</SAMP>.
-<P>
-
-<DT><SAMP>`-f <VAR>file</VAR>'</SAMP>
-<DD><DT><SAMP>`--file=<VAR>file</VAR>'</SAMP>
-<DD><A NAME="IDX8"></A>
-<A NAME="IDX9"></A>
-<A NAME="IDX10"></A>
-Obtain patterns from <VAR>file</VAR>, one per line.  The empty
-file contains zero patterns, and therefore matches nothing.
-<P>
-
-<DT><SAMP>`-i'</SAMP>
-<DD><DT><SAMP>`--ignore-case'</SAMP>
-<DD><A NAME="IDX11"></A>
-<A NAME="IDX12"></A>
-<A NAME="IDX13"></A>
-Ignore case distinctions in both the pattern and the input files.
-<P>
-
-<DT><SAMP>`-l'</SAMP>
-<DD><DT><SAMP>`--files-with-matches'</SAMP>
-<DD><A NAME="IDX14"></A>
-<A NAME="IDX15"></A>
-<A NAME="IDX16"></A>
-Suppress normal output; instead print the name of each input
-file from which output would normally have been printed.
-The scanning of every file will stop on the first match.
-<P>
-
-<DT><SAMP>`-n'</SAMP>
-<DD><DT><SAMP>`--line-number'</SAMP>
-<DD><A NAME="IDX17"></A>
-<A NAME="IDX18"></A>
-<A NAME="IDX19"></A>
-Prefix each line of output with the line number within its input file.
-<P>
-
-<DT><SAMP>`-o'</SAMP>
-<DD><DT><SAMP>`--only-matching'</SAMP>
-<DD><A NAME="IDX20"></A>
-<A NAME="IDX21"></A>
-<A NAME="IDX22"></A>
-Print only the part of matching lines that actually matches <VAR>pattern</VAR>.
-<P>
-
-<DT><SAMP>`-q'</SAMP>
-<DD><DT><SAMP>`--quiet'</SAMP>
-<DD><DT><SAMP>`--silent'</SAMP>
-<DD><A NAME="IDX23"></A>
-<A NAME="IDX24"></A>
-<A NAME="IDX25"></A>
-<A NAME="IDX26"></A>
-Quiet; do not write anything to standard output.  Exit immediately with
-zero status if any match is found, even if an error was detected.  Also
-see the <SAMP>`-s'</SAMP> or <SAMP>`--no-messages'</SAMP> option.
-<P>
-
-<DT><SAMP>`-s'</SAMP>
-<DD><DT><SAMP>`--no-messages'</SAMP>
-<DD><A NAME="IDX27"></A>
-<A NAME="IDX28"></A>
-<A NAME="IDX29"></A>
-Suppress error messages about nonexistent or unreadable files.
-Portability note: unlike GNU <CODE>grep</CODE>, traditional
-<CODE>grep</CODE> did not conform to POSIX.2, because traditional
-<CODE>grep</CODE> lacked a <SAMP>`-q'</SAMP> option and its <SAMP>`-s'</SAMP> 
option behaved
-like GNU <CODE>grep</CODE>'s <SAMP>`-q'</SAMP> option.  Shell scripts intended
-to be portable to traditional <CODE>grep</CODE> should avoid both
-<SAMP>`-q'</SAMP> and <SAMP>`-s'</SAMP> and should redirect
-output to <TT>`/dev/null'</TT> instead.
-<P>
-
-<DT><SAMP>`-v'</SAMP>
-<DD><DT><SAMP>`--invert-match'</SAMP>
-<DD><A NAME="IDX30"></A>
-<A NAME="IDX31"></A>
-<A NAME="IDX32"></A>
-<A NAME="IDX33"></A>
-Invert the sense of matching, to select non-matching lines.
-<P>
-
-<DT><SAMP>`-x'</SAMP>
-<DD><DT><SAMP>`--line-regexp'</SAMP>
-<DD><A NAME="IDX34"></A>
-<A NAME="IDX35"></A>
-<A NAME="IDX36"></A>
-Select only those matches that exactly match the whole line.
-<P>
-
-</DL>
-<P>
-
-<HR SIZE=1>
-<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
-<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_1.html#SEC1"> &lt; 
</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_3.html#SEC3"> &gt; </A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A 
HREF="grep_5.html#SEC5"> &lt;&lt; </A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep.html#SEC_Top"> Up </A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_5.html#SEC5"> &gt;&gt; 
</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> 
&nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" 
ALIGN="LEFT"> &nbsp; <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A 
HREF="grep.html#SEC_Top">Top</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A 
HREF="grep_toc.html#SEC_Contents">Contents</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_21.html#SEC21">Index</A>]</TD>
-<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="grep_abt.html#SEC_About"> ? 
</A>]</TD>
-</TR></TABLE>
-<BR>  
-<FONT SIZE="-1">
-This document was generated
-by <I>root</I> on <I>January, 23  2002</I>
-using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
-"><I>texi2html</I></A>
-
-</BODY>
-</HTML>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]