|
@@ -1,4 +1,4 @@
|
|
-<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
@@ -38,14 +38,14 @@
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
<sect2 role="installation">
|
|
- <title>Installation of Sed</title>
|
|
|
|
|
|
+ <title>安装Sed</title>
|
|
|
|
|
|
<para>First fix an issue in the LFS environment and remove a failing test:</para>
|
|
<para>First fix an issue in the LFS environment and remove a failing test:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man
|
|
<screen><userinput remap="pre">sed -i 's/usr/tools/' build-aux/help2man
|
|
sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen>
|
|
sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen>
|
|
|
|
|
|
- <para>Prepare Sed for compilation:</para>
|
|
|
|
|
|
+ <para>准备安装 Sed:</para>
|
|
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
|
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
|
|
<!--
|
|
<!--
|
|
@@ -60,12 +60,12 @@ sed -i 's/testsuite.panic-tests.sh//' Makefile.in</userinput></screen>
|
|
</varlistentry>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</variablelist>
|
|
-->
|
|
-->
|
|
- <para>Compile the package and generate the HTML documentation:</para>
|
|
|
|
|
|
+ <para>编译该软件包,并生成 HTML 文档:</para>
|
|
|
|
|
|
<screen><userinput remap="make">make
|
|
<screen><userinput remap="make">make
|
|
make html</userinput></screen>
|
|
make html</userinput></screen>
|
|
|
|
|
|
- <para>To test the results, issue:</para>
|
|
|
|
|
|
+ <para>运行下列命令以测试编译结果:</para>
|
|
|
|
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
|
<screen><userinput remap="test">make check</userinput></screen>
|
|
|
|
|
|
@@ -78,11 +78,11 @@ install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
|
|
</sect2>
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-sed" role="content">
|
|
<sect2 id="contents-sed" role="content">
|
|
- <title>Contents of Sed</title>
|
|
|
|
|
|
+ <title>Sed 的内容</title>
|
|
|
|
|
|
<segmentedlist>
|
|
<segmentedlist>
|
|
- <segtitle>Installed program</segtitle>
|
|
|
|
- <segtitle>Installed directory</segtitle>
|
|
|
|
|
|
+ <segtitle>安装的程序</segtitle>
|
|
|
|
+ <segtitle>安装的目录</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
<seglistitem>
|
|
<seg>sed</seg>
|
|
<seg>sed</seg>
|
|
@@ -91,7 +91,7 @@ install -m644 doc/sed.html /usr/share/doc/sed-&sed-version;</userinput></screen>
|
|
</segmentedlist>
|
|
</segmentedlist>
|
|
|
|
|
|
<variablelist>
|
|
<variablelist>
|
|
- <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
|
|
+ <bridgehead renderas="sect3">简要描述</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|