CVSROOT: /web/grep Module name: grep Changes by: Karl Berry <karl> 09/05/24 18:43:01
Index: manual/html_node/Command_002dline-Options.html =================================================================== RCS file: manual/html_node/Command_002dline-Options.html diff -N manual/html_node/Command_002dline-Options.html --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ manual/html_node/Command_002dline-Options.html 24 May 2009 18:42:58 -0000 1.1 @@ -0,0 +1,75 @@ +<html lang="en"> +<head> +<title>Command-line Options - GNU Grep 2.5.4</title> +<meta http-equiv="Content-Type" content="text/html"> +<meta name="description" content="GNU Grep 2.5.4"> +<meta name="generator" content="makeinfo 4.13"> +<link title="Top" rel="start" href="index.html#Top"> +<link rel="up" href="Invoking.html#Invoking" title="Invoking"> +<link rel="next" href="Environment-Variables.html#Environment-Variables" title="Environment Variables"> +<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> +<!-- +This manual is for `grep', a pattern matching engine. + +Copyright (C) 1999, 2000, 2001, 2002, 2005, 2008, 2009 Free +Software Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free Documentation License, + Version 1.3 or any later version published by the Free Software + Foundation; with no Invariant Sections, with no Front-Cover Texts, + and with no Back-Cover Texts. A copy of the license is included + in the section entitled ``GNU Free Documentation License''. + --> +<meta http-equiv="Content-Style-Type" content="text/css"> +<style type="text/css"><!-- + pre.display { font-family:inherit } + pre.format { font-family:inherit } + pre.smalldisplay { font-family:inherit; font-size:smaller } + pre.smallformat { font-family:inherit; font-size:smaller } + pre.smallexample { font-size:smaller } + pre.smalllisp { font-size:smaller } + span.sc { font-variant:small-caps } + span.roman { font-family:serif; font-weight:normal; } + span.sansserif { font-family:sans-serif; font-weight:normal; } +--></style> +</head> +<body> +<div class="node"> +<a name="Command-line-Options"></a> +<a name="Command_002dline-Options"></a> +<p> +Next: <a rel="next" accesskey="n" href="Environment-Variables.html#Environment-Variables">Environment Variables</a>, +Up: <a rel="up" accesskey="u" href="Invoking.html#Invoking">Invoking</a> +<hr> +</div> + +<h3 class="section">2.1 Command-line Options</h3> + +<p><samp><span class="command">grep</span></samp> comes with a rich set of options: +some from <span class="sc">posix.2</span> and some being <span class="sc">gnu</span> extensions. +Long option names are always a <span class="sc">gnu</span> extension, +even for options that are from <span class="sc">posix</span> specifications. +Options that are specified by <span class="sc">posix</span>, +under their short names, +are explicitly marked as such +to facilitate <span class="sc">posix</span>-portable programming. +A few option names are provided +for compatibility with older or more exotic implementations. + +<ul class="menu"> +<li><a accesskey="1" href="Generic-Program-Information.html#Generic-Program-Information">Generic Program Information</a> +<li><a accesskey="2" href="Matching-Control.html#Matching-Control">Matching Control</a> +<li><a accesskey="3" href="General-Output-Control.html#General-Output-Control">General Output Control</a> +<li><a accesskey="4" href="Output-Line-Prefix-Control.html#Output-Line-Prefix-Control">Output Line Prefix Control</a> +<li><a accesskey="5" href="Context-Line-Control.html#Context-Line-Control">Context Line Control</a> +<li><a accesskey="6" href="File-and-Directory-Selection.html#File-and-Directory-Selection">File and Directory Selection</a> +<li><a accesskey="7" href="Other-Options.html#Other-Options">Other Options</a> +</ul> + + <p>Several additional options control +which variant of the <samp><span class="command">grep</span></samp> matching engine is used. +See <a href="grep-Programs.html#grep-Programs">grep Programs</a>. + + </body></html> +
