Changeset 37e35d2 for chapter06/gawk.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gawk.xml
rd4fdde6 r37e35d2 6 6 ]> 7 7 8 <sect1 id="ch- system-gawk" role="wrap">8 <sect1 id="ch-tools-gawk" role="wrap"> 9 9 <?dbhtml filename="gawk.html"?> 10 10 … … 17 17 <title>Gawk-&gawk-version;</title> 18 18 19 <indexterm zone="ch- system-gawk">19 <indexterm zone="ch-tools-gawk"> 20 20 <primary sortas="a-Gawk">Gawk</primary> 21 <secondary>tools</secondary> 21 22 </indexterm> 22 23 … … 24 25 <title/> 25 26 26 <para>The Gawk package contains programs for manipulating text files.</para> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 href="../chapter08/gawk.xml" 29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 27 30 28 31 <segmentedlist> … … 31 34 32 35 <seglistitem> 33 <seg>&gawk- ch6-sbu;</seg>34 <seg>&gawk- ch6-du;</seg>36 <seg>&gawk-tmp-sbu;</seg> 37 <seg>&gawk-tmp-du;</seg> 35 38 </seglistitem> 36 39 </segmentedlist> … … 47 50 <para>Prepare Gawk for compilation:</para> 48 51 49 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 52 <screen><userinput remap="configure">./configure --prefix=/usr \ 53 --host=$LFS_TGT \ 54 --build=$(./config.guess)</userinput></screen> 50 55 51 56 <para>Compile the package:</para> … … 53 58 <screen><userinput remap="make">make</userinput></screen> 54 59 55 <para>To test the results, issue:</para>56 57 <screen><userinput remap="test">make check</userinput></screen>58 59 60 <para>Install the package:</para> 60 61 61 <screen><userinput remap="install">make install</userinput></screen> 62 63 <para>If desired, install the documentation:</para> 64 65 <screen><userinput remap="install">mkdir -v /usr/share/doc/gawk-&gawk-version; 66 cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-&gawk-version;</userinput></screen> 62 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 67 63 68 64 </sect2> 69 65 70 <sect2 id="contents-gawk"role="content">71 <title >Contents of Gawk</title>66 <sect2 role="content"> 67 <title/> 72 68 73 <segmentedlist> 74 <segtitle>Installed programs</segtitle> 75 <segtitle>Installed libraries</segtitle> 76 <segtitle>Installed directories</segtitle> 77 78 <seglistitem> 79 <seg>awk (link to gawk), gawk, and awk-&gawk-version;</seg> 80 <seg>filefuncs.so, fnmatch.so, fork.so, inplace.so, intdiv.so, ordchr.so, 81 readdir.so, readfile.so, revoutput.so, revtwoway.so, rwarray.so, 82 and time.so (all in /usr/lib/gawk)</seg> 83 <seg>/usr/lib/gawk, /usr/libexec/awk, /usr/share/awk, and 84 /usr/share/doc/gawk-&gawk-version;</seg> 85 </seglistitem> 86 </segmentedlist> 87 88 <variablelist> 89 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 90 <?dbfo list-presentation="list"?> 91 <?dbhtml list-presentation="table"?> 92 93 <varlistentry id="awk"> 94 <term><command>awk</command></term> 95 <listitem> 96 <para>A link to <command>gawk</command></para> 97 <indexterm zone="ch-system-gawk awk"> 98 <primary sortas="b-awk">awk</primary> 99 </indexterm> 100 </listitem> 101 </varlistentry> 102 103 <varlistentry id="gawk"> 104 <term><command>gawk</command></term> 105 <listitem> 106 <para>A program for manipulating text files; it is the GNU 107 implementation of <command>awk</command></para> 108 <indexterm zone="ch-system-gawk gawk"> 109 <primary sortas="b-gawk">gawk</primary> 110 </indexterm> 111 </listitem> 112 </varlistentry> 113 114 <varlistentry id="gawk-version"> 115 <term><command>gawk-&gawk-version;</command></term> 116 <listitem> 117 <para>A hard link to <command>gawk</command></para> 118 <indexterm zone="ch-system-gawk gawk-version"> 119 <primary sortas="b-gawk-&gawk-version;">gawk-&gawk-version;</primary> 120 </indexterm> 121 </listitem> 122 </varlistentry> 123 124 </variablelist> 69 <para>Details on this package are located in 70 <xref linkend="contents-gawk" role="."/></para> 125 71 126 72 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.