语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -3,12 +3,12 @@
<h2 id="补充说明">补充说明</h2>
<p><strong>egrep命令</strong> 用于在文件内查找指定的字符串。egrep执行效果与<code>grep -E</code>相似使用的语法及参数可参照grep指令与grep的不同点在于解读字符串的方法。egrep是用extended regular expression语法来解读的而grep则用basic regular expression 语法解读extended regular expression比basic regular expression的表达更规范。</p>
<h3 id="语法">语法</h3>
<pre><code>egrep(选项)(查找模式)(文件名1文件名2……)</code></pre>
<pre><code class="language-bash">egrep(选项)(查找模式)(文件名1文件名2……)</code></pre>
<h3 id="实例">实例</h3>
<p>显示文件中符合条件的字符。例如查找当前目录下所有文件中包含字符串“Linux”的文件可以使用如下命令</p>
<pre><code>egrep Linux *</code></pre>
<pre><code class="language-bash">egrep Linux *</code></pre>
<p>结果如下所示:</p>
<pre><code>#以下五行为 testfile 中包含Linux字符的行
<pre><code class="language-bash">#以下五行为 testfile 中包含Linux字符的行
testfile:hello Linux!
testfile:Linux is a free Unix-type operating system.
testfile:This is a Linux testfile!