mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
Archive the ed program
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12760 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
3cd0869334
commit
eccb6ff458
@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY ed-download-http "http://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.gz">
|
||||
<!ENTITY ed-download-ftp "ftp://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.gz">
|
||||
<!ENTITY ed-md5sum "565b6d1d5a9a8816b9b304fc4ed9405d">
|
||||
<!ENTITY ed-size "92 KB">
|
||||
<!ENTITY ed-buildsize "2.3 MB">
|
||||
<!ENTITY ed-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="ed" xreflabel="Ed-&ed-version;">
|
||||
<?dbhtml filename="ed.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Ed-&ed-version;</title>
|
||||
|
||||
<indexterm zone="ed">
|
||||
<primary sortas="a-Ed">Ed</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Ed</title>
|
||||
|
||||
<para><application>Ed</application> is a line-oriented text editor. It
|
||||
is used to create, display, modify and otherwise manipulate text files,
|
||||
both interactively and via shell scripts. Ed isn't something which many
|
||||
people use. It's described here because it can be used by the patch
|
||||
program if you encounter an ed-based patch file. This happens rarely
|
||||
because diff-based patches are preferred these days.</para>
|
||||
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&ed-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&ed-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &ed-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &ed-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &ed-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &ed-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/ed"/></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Ed</title>
|
||||
|
||||
<para>Install <application>Ed</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --bindir=/bin &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>To test the results, issue: <command>make check</command>.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>ed and red</seg>
|
||||
<seg>None</seg>
|
||||
<seg>None</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="ed-prog">
|
||||
<term><command>ed</command></term>
|
||||
<listitem>
|
||||
<para>is a line-oriented text editor.</para>
|
||||
<indexterm zone="ed ed-prog">
|
||||
<primary sortas="b-ed">ed</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="red">
|
||||
<term><command>red</command></term>
|
||||
<listitem>
|
||||
<para>is a restricted <command>ed</command>—it can only edit
|
||||
files in the current directory and cannot execute shell
|
||||
commands.</para>
|
||||
<indexterm zone="ed red">
|
||||
<primary sortas="b-red">red</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -21,7 +21,6 @@ $Date$
|
||||
have been installed.</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bluefish.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ed.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="emacs.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="joe.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nano.xml"/>
|
||||
|
Loading…
Reference in New Issue
Block a user