blob: 9156ff380cf84cc55b4ca6ad39e9ed192ecb5995 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001NAME
2 ed5
3
4DESCRIPTION
5 = : prints current line
6 a : append lines
7 c : change, that is, delate, than insert
8 d : delete line(s)
9 E <filename> : discard current buffer and edit the file named
10 <filename>
11 e <filename> : like e, but refuse if file has been changed
12 f : print current filename
13 f <filename> : set filename
14 i : insert line(s)
15 j : with no or one argument: join line with following line
16 j : with two arguments : join line range given
17 k<letter> : set mark <letter> to current line. <letter> must
18 be in the range [a-z] . The mark can be used
19 thereinafter as a line address, with a leading slash.
20 (e.g. ka to set mark a, /ap to print marked line)
21 l : print line with control characters
22 <start>,<end>m<dest> : move block (lines from start to end)
23 behind line # dest
24 <line>m<dest> : move single line
25 m<dest> : move current line
26 M : remove Ctrl-M (CR) characters.
27 p : print line
28 P : print line
29 Q : quit, discarding the buffer
30 q : the same, but refuse if file has been changed since last
31 write
32 r : read in file. If no adress is given, at the last insert
33 position, if also nothing was inserted, at the end of the
34 buffer
35 s : substitute
36 <start>,<end>t<dest> : copy block ( lines from start to end )
37 behind line position dest
38 <line>t<dest> : copy single line
39 t<dest> : copy current line
40 w : write file
41 W : write file
42 x : write file if buffer has been changed since last change,
43 then quit
44 z : show approx. a screenful of lines
45
46SEE ALSO
47 ed6(LPC)