📄 grep.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 6.12. Grep-2.5.1a </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-x86"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86 </h4> <h3> Chapter 6. Constructing a Temporary System </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="make.html" title="Make-3.81">Prev</a> <p> Make-3.81 </p> </li> <li class="next"> <a accesskey="n" href="sed.html" title="Sed-4.1.5">Next</a> <p> Sed-4.1.5 </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 6. Constructing a Temporary System">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86"> Home</a> </li> </ul> </div> <div class="wrap" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 6.12. Grep-2.5.1a </h1> </div> <div class="package" lang="en" xml:lang="en"> <p> The Grep package contains programs for searching through files. </p> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installation depends on:</span></strong> <span class="seg">Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Make, Sed, and Texinfo</span> </div> </div> </div> </div> <div class="installation" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="sect2"> 6.12.1. Installation of Grep </h2> </div> <p> Prepare Grep for compilation: </p> <pre class="userinput"><kbd class="command">./configure --prefix=/tools \ --host=${LFS_TARGET} --disable-perl-regexp</kbd></pre> <div class="variablelist"> <p class="title"> <b>The meaning of the configure options:</b> </p> <dl> <dt> <span class="term"><em class= "parameter"><tt>--disable-perl-regexp</tt></em></span> </dt> <dd> <p> This ensures that the <span><strong class= "command">grep</strong></span> program does not get linked against a Perl Compatible Regular Expression (PCRE) library that may be present on the host but will not be available when building the final system. </p> </dd> </dl> </div> <p> Compile the package: </p> <pre class="userinput"><kbd class="command">make</kbd></pre> <p> Install the package: </p> <pre class="userinput"><kbd class="command">make install</kbd></pre> </div> <div class="content" lang="en" xml:lang="en"> <p> Details on this package are located in <a href= "../final-system/grep.html#contents-grep" title= "10.34.2. Contents of Grep">Section 10.34.2, “Contents of Grep.”</a> </p> </div> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="make.html" title="Make-3.81">Prev</a> <p> Make-3.81 </p> </li> <li class="next"> <a accesskey="n" href="sed.html" title="Sed-4.1.5">Next</a> <p> Sed-4.1.5 </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 6. Constructing a Temporary System">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -