source: postlfs/editors/ed.xml@ 32d0e29

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 32d0e29 was 8306a82, checked in by Ag Hatzimanikas <ag@…>, 16 years ago

Replaced with symlinks the hard links to red and its man page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7347 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY ed-download-http "http://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.bz2">
8 <!ENTITY ed-download-ftp "ftp://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.bz2">
9 <!ENTITY ed-md5sum "b359451fb32097974484b5ba7c19f5fb">
10 <!ENTITY ed-size "66 KB">
11 <!ENTITY ed-buildsize "1.3 MB">
12 <!ENTITY ed-time "Less than 0.1 SBU">
13]>
14
15<sect1 id="ed" xreflabel="Ed-&ed-version;">
16 <?dbhtml filename="ed.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Ed-&ed-version;</title>
24
25 <indexterm zone="ed">
26 <primary sortas="a-Ed">Ed</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Ed</title>
31
32 <para><application>Ed</application> is a line-oriented text editor. It
33 is used to create, display, modify and otherwise manipulate text files,
34 both interactively and via shell scripts. Ed isn't something which many
35 people use. It's described here because it can be used by the patch
36 program if you encounter an ed-based patch file. This happens rarely
37 because diff-based patches are preferred these days.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&ed-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&ed-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &ed-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &ed-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &ed-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &ed-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/ed"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of Ed</title>
68
69 <para>Install <application>Ed</application> by running the following
70 commands:</para>
71
72<screen><userinput>sed -i 's/; ln/&amp; -sv/' Makefile.in &amp;&amp;
73./configure --prefix=/usr &amp;&amp;
74make</userinput></screen>
75
76 <para>To test the results, issue: <command>make check</command>.</para>
77
78 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
79
80<screen role="root"><userinput>make install &amp;&amp;
81make install-man</userinput></screen>
82
83 </sect2>
84
85 <sect2 role="content">
86 <title>Contents</title>
87
88 <segmentedlist>
89 <segtitle>Installed Programs</segtitle>
90 <segtitle>Installed Libraries</segtitle>
91 <segtitle>Installed Directories</segtitle>
92
93 <seglistitem>
94 <seg>ed and red</seg>
95 <seg>None</seg>
96 <seg>None</seg>
97 </seglistitem>
98 </segmentedlist>
99
100 <variablelist>
101 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
102 <?dbfo list-presentation="list"?>
103 <?dbhtml list-presentation="table"?>
104
105 <varlistentry id="ed-prog">
106 <term><command>ed</command></term>
107 <listitem>
108 <para>is a line-oriented text editor.</para>
109 <indexterm zone="ed ed-prog">
110 <primary sortas="b-ed">ed</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 <varlistentry id="red">
116 <term><command>red</command></term>
117 <listitem>
118 <para>is a restricted <command>ed</command>&mdash;it can only edit
119 files in the current directory and cannot execute shell
120 commands.</para>
121 <indexterm zone="ed red">
122 <primary sortas="b-red">red</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 </variablelist>
128
129 </sect2>
130
131</sect1>
Note: See TracBrowser for help on using the repository browser.