Title: Theory / Unimportant / CS / command line / text streaming / Sed & Awk - Doughetry, Robbins{ / ed
Tags: computer_to_instruction fromCommandLine hasNotNewEffectReturnsMeaning récupéré

Instruction: ed
Page: 8
Effect: Original unix line editor
Chapter: 2

Instruction: ex
Page: 9
Effect: vi underlying line editor
Chapter: 2

Instruction: ed file
Page: 9
Effect: Open ed on file file. Moving to last line.
display its number of line
Chapter: 2

Name: A line adress
Definition: A number
Page: 9
Chapter: 2
Context: ed
Definition2: symbol indicating a specific position in the file
Conjdef: Either
Definition3: A regexp

Instruction: <line address>
Page: 9
Effect: Go to line <line address>
Context: ed
Chapter: 2

Instruction: d
Page: 9
Effect: delete the current line.
Context: ed
Chapter: 2

Instruction: <line-address>d
Page: 9
Effect: delete line designated by <line-address>
Context: ed
Chapter: 2

Instruction: /foo/
Page: 9, 15
Effect: A regular expression for foo
Context: ed, sed, awk
Chapter: 2

Instruction: g/foo/
Page: 9
Effect: Expression representing all lines matching the regexp foo
Context: ed
Chapter: 2

Instruction: <line-adress>s/foo/bar/f
Page: 10
Effect: Replace pattern foo by bar in line <line-address>, with flags f
Context: ed
Chapter: 2

Instruction: an empty pattern in a substitution command
Page: 11
Effect: use the line search pattern for the search pattern of the substitution command
Context: ed regexp
Chapter: 2, sed and grep book

Name: global regular expression print.
Definition: Software to search for regexp's in files
Page: 11
Chapter: 2, sed and grep book
Abbreviation: grep

Instruction: ed foo < bar
Page: 11
Effect: Apply the commands from file bar to file foo
Chapter: 2, sed and grep book