ed by Ken Thompson

Edit lines with ed.

a  append
c  change
d  delete
e  edit
f  file
g  global
i  insert
j  join
k  mark
l  list
m  move
n  enumerate
p  print
P  prompt
q  quit
r  read
s  substitute
t  transfer
u  undo
v  exclude
w  write
W  writeEOF
wq write;quit
!  sh
// search
?? rsearch

a append

W write to end of file
`a,`b W F   append `a,`b to F
W F         append buffer to F

Move Lines Between Files
`a,`b w temp
e file
`c r temp


Why ed? A sorcerer's spells are cast with ed.