#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 6. Text Editors

- Prev

  Bluefish-2.4.1

- Next

  Emacs-30.2

- Up
- Home

# Ed-1.22.5

## Introduction to Ed

Ed 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.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://ftpmirror.gnu.org/ed/ed-1.22.5.tar.lz

- Download MD5 sum: be4d48fec1535162059b9416d913e531

- Download size: 72 KB

- Estimated disk space required: 1.4 MB

- Estimated build time: less than 0.1 SBU

### Ed Dependencies

#### Required to uncompress the tarball

libarchive-3.8.7 (for bsdtar)

## Installation of Ed

Install Ed by running the following commands:

    ./configure --prefix=/usr &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Contents

Installed Programs: ed and red
Installed Libraries: None
Installed Directories: None

### Short Descriptions

ed | is a line-oriented text editor
red | is a restricted ed—it can only edit files in the current directory and cannot execute shell commands

- Prev

  Bluefish-2.4.1

- Next

  Emacs-30.2

- Up
- Home