Changeset fcc02767 for chapter06/grep.xml
- Timestamp:
- 06/07/2020 08:16:00 PM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 595ff03
- Parents:
- d53fefa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/grep.xml
rd53fefa rfcc02767 6 6 ]> 7 7 8 <sect1 id="ch- system-grep" role="wrap">8 <sect1 id="ch-tools-grep" role="wrap"> 9 9 <?dbhtml filename="grep.html"?> 10 10 … … 17 17 <title>Grep-&grep-version;</title> 18 18 19 <indexterm zone="ch- system-grep">19 <indexterm zone="ch-tools-grep"> 20 20 <primary sortas="a-Grep">Grep</primary> 21 <secondary>tools</secondary> 21 22 </indexterm> 22 23 … … 24 25 <title/> 25 26 26 <para>The Grep package contains programs for searching through files.</para> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 href="../chapter08/grep.xml" 29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 27 30 28 31 <segmentedlist> … … 31 34 32 35 <seglistitem> 33 <seg>&grep-ch 6-sbu;</seg>34 <seg>&grep-ch 6-du;</seg>36 <seg>&grep-ch5-sbu;</seg> 37 <seg>&grep-ch5-du;</seg> 35 38 </seglistitem> 36 39 </segmentedlist> … … 43 46 <para>Prepare Grep for compilation:</para> 44 47 45 <screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --host=$LFS_TGT \ 50 --bindir=/bin</userinput></screen> 46 51 47 52 <para>Compile the package:</para> … … 49 54 <screen><userinput remap="make">make</userinput></screen> 50 55 51 <para>To test the results, issue:</para>52 53 <screen><userinput remap="test">make check</userinput></screen>54 55 56 <para>Install the package:</para> 56 57 57 <screen><userinput remap="install">make install</userinput></screen>58 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 58 59 59 60 </sect2> 60 61 61 <sect2 id="contents-grep"role="content">62 <title >Contents of Grep</title>62 <sect2 role="content"> 63 <title/> 63 64 64 <segmentedlist> 65 <segtitle>Installed programs</segtitle> 66 67 <seglistitem> 68 <seg>egrep, fgrep, and grep</seg> 69 </seglistitem> 70 </segmentedlist> 71 72 <variablelist> 73 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 74 <?dbfo list-presentation="list"?> 75 <?dbhtml list-presentation="table"?> 76 77 <varlistentry id="egrep"> 78 <term><command>egrep</command></term> 79 <listitem> 80 <para>Prints lines matching an extended regular expression</para> 81 <indexterm zone="ch-system-grep egrep"> 82 <primary sortas="b-egrep">egrep</primary> 83 </indexterm> 84 </listitem> 85 </varlistentry> 86 87 <varlistentry id="fgrep"> 88 <term><command>fgrep</command></term> 89 <listitem> 90 <para>Prints lines matching a list of fixed strings</para> 91 <indexterm zone="ch-system-grep fgrep"> 92 <primary sortas="b-fgrep">fgrep</primary> 93 </indexterm> 94 </listitem> 95 </varlistentry> 96 97 <varlistentry id="grep"> 98 <term><command>grep</command></term> 99 <listitem> 100 <para>Prints lines matching a basic regular expression</para> 101 <indexterm zone="ch-system-grep grep"> 102 <primary sortas="b-grep">grep</primary> 103 </indexterm> 104 </listitem> 105 </varlistentry> 106 107 </variablelist> 65 <para>Details on this package are located in 66 <xref linkend="contents-grep" role="."/></para> 108 67 109 68 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.