Difference between revisions of "Ed"

From CBLFS
Jump to navigationJump to search
(Source is gz. Updated configure)
m (Reverted edits by Antonio Diaz (Talk); changed back to last version by Jciccone)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://ftp.gnu.org/pub/gnu/ed/ed-{{Ed-Version}}.tar.gz
+
| http://ftp.gnu.org/pub/gnu/ed/ed-{{Ed-Version}}.tar.bz2
 
|}
 
|}
  
Line 17: Line 17:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --exec-prefix="" &&
 
  make
 
  make
  
Line 31: Line 31:
 
Compile the package:
 
Compile the package:
  
  ./configure CC="gcc ${BUILD32}" --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --exec-prefix="" &&
 
  make
 
  make
  
Line 42: Line 42:
 
Compile the package:
 
Compile the package:
  
  ./configure CC="gcc ${BUILDN32}" --prefix=/usr &&
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --exec-prefix="" &&
 
  make
 
  make
  
Line 53: Line 53:
 
Compile the package:
 
Compile the package:
  
  ./configure CC="gcc ${BUILD64}" --prefix=/usr &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --exec-prefix="" &&
 
  make
 
  make
  

Revision as of 15:37, 4 February 2009

Download Source: http://ftp.gnu.org/pub/gnu/ed/ed-1.4.tar.bz2

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. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands. Ed is the "standard" text editor in the sense that it is the original editor for Unix, and thus widely available. For most purposes, however, it is superseded by full-screen editors such as Vim and Emacs.

One of the reasons that Ed is in CBLFS is in case you run into patches that are in Ed format. While these are rare (diff-based patches are the norm), if you need to use such a patch, you'll need Ed.

Project Homepage: http://www.gnu.org/software/ed/ed.html

Dependencies

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --exec-prefix="" &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --exec-prefix="" &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --exec-prefix="" &&
make

Install the package

make install

Contents

Installed Programs: ed, 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.
Retrieved from "?title=Ed&oldid=16773"