Morgengrauner Dokumentation
Dateipfad: /home/mud/mudlib/doc//LPC/ed5NAME
ed5
DESCRIPTION
= : prints current line
a : append lines
c : change, that is, delate, than insert
d : delete line(s)
E : discard current buffer and edit the file named
e : like e, but refuse if file has been changed
f : print current filename
f : set filename
i : insert line(s)
j : with no or one argument: join line with following line
j : with two arguments : join line range given
k : set mark to current line. must
be in the range [a-z] . The mark can be used
thereinafter as a line address, with a leading slash.
(e.g. ka to set mark a, /ap to print marked line)
l : print line with control characters
,m : move block (lines from start to end)
behind line # dest
m : move single line
m : move current line
M : remove Ctrl-M (CR) characters.
p : print line
P : print line
Q : quit, discarding the buffer
q : the same, but refuse if file has been changed since last
write
r : read in file. If no adress is given, at the last insert
position, if also nothing was inserted, at the end of the
buffer
s : substitute
,t : copy block ( lines from start to end )
behind line position dest
t : copy single line
t : copy current line
w : write file
W : write file
x : write file if buffer has been changed since last change,
then quit
z : show approx. a screenful of lines
SEE ALSO
ed6(LPC)
zurück zur Übersicht