⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 egrep.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>egrep</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_001_014_548">&nbsp;</a>NAME</h4><blockquote>egrep - search a file with an ERE pattern (<b><a href="intro.html#tag_001_003_003">LEGACY</a></b>)</blockquote><h4><a name = "tag_001_014_549">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>egrep <b>[</b> -c| -l<b>][</b>-inv<b>] </b>-e <i>pattern_list </i><b>[</b><i>file</i>...<b>]</b>egrep <b>[</b> -c| -l<b>][</b>-inv<b>] </b>-f <i>pattern_list </i><b>[</b><i>file</i>...<b>]</b>egrep <b>[</b> -c| -l<b>][</b>-inv<b>] </b><i>pattern_list </i><b>[</b><i>file</i>...<b>]</b></code></pre></blockquote><h4><a name = "tag_001_014_550">&nbsp;</a>DESCRIPTION</h4><blockquote>The name<i>egrep</i>is an obsolescent version equivalent to<i><a href="grep.html">grep</a></i><b>-E</b>.<p>A command invoking the<i>egrep</i>utility with the<b>-e</b>option specified is equivalent to the command:<pre><code>grep -E <b>[</b> -c| -l<b>][</b>-inv<b>] </b>-e <i>pattern_list </i><b>[</b><i>file</i>...<b>]</b></code></pre><p>A command invoking the<i>egrep</i>utility with the<b>-f</b>option specified is equivalent to the command:<pre><code>grep -E <b>[</b> -c| -l<b>][</b>-inv<b>] </b>-f <i>pattern_list </i><b>[</b><i>file</i>...<b>]</b></code></pre><p>A command invoking the<i>egrep</i>utility with neither the<b>-e</b>nor the<b>-f</b>option specified is equivalent to the command:<pre><code>grep -E <b>[</b> -c| -l<b>][</b>-inv<b>] </b><i>pattern_list </i><b>[</b><i>file</i>...<b>]</b></code></pre></blockquote><h4><a name = "tag_001_014_551">&nbsp;</a>OPTIONS</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_552">&nbsp;</a>OPERANDS</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_553">&nbsp;</a>STDIN</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_554">&nbsp;</a>INPUT FILES</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_555">&nbsp;</a>ENVIRONMENT VARIABLES</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_556">&nbsp;</a>ASYNCHRONOUS EVENTS</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_557">&nbsp;</a>STDOUT</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_558">&nbsp;</a>STDERR</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_559">&nbsp;</a>OUTPUT FILES</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_560">&nbsp;</a>EXTENDED DESCRIPTION</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_561">&nbsp;</a>EXIT STATUS</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_562">&nbsp;</a>CONSEQUENCES OF ERRORS</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_563">&nbsp;</a>APPLICATION USAGE</h4><blockquote>Unlike<i><a href="grep.html">grep</a></i><b>-E</b>,multiple<b>-e</b>or<b>-f</b>options produce undefined results.Adjacent newline characters in the<i>pattern</i>operand or<b>-e</b>&nbsp;<i>pattern_list</i>option-argument also produce undefined results.<p>Applications should migrate to the<i><a href="grep.html">grep</a></i><b>-E</b>command.</blockquote><h4><a name = "tag_001_014_564">&nbsp;</a>EXAMPLES</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_565">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>Refer to<i><a href="grep.html">grep</a></i>.</blockquote><h4><a name = "tag_001_014_566">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="grep.html">grep</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -