3 Summary of Commands and Line Numbers
8 commands is the command name,
9 perhaps preceded by one or two line numbers, and,
15 followed by a file name.
16 Only one command is allowed per line,
19 command may follow any other command
29 add lines to the buffer (at line dot, unless
30 a different line is specified). Appending continues until
32 is typed on a new line.
33 Dot is set to the last line appended.
36 Change the specified lines to the new text which follows.
37 The new lines are terminated by a
41 If no lines are specified,
43 Dot is set to last line changed.
46 Delete the lines specified.
47 If none are specified, delete line dot.
48 Dot is set to the first undeleted line,
52 in which case dot is set to
58 contents of the buffer are thrown away,
64 Print remembered filename.
67 the remembered name will be set to it.
72 g/\(hy\(hy\(hy/commands
74 will execute the commands on those lines that contain
76 which can be any context search expression.
79 Insert lines before specified line (or dot)
82 is typed on a new line.
83 Dot is set to last line inserted.
86 Move lines specified to after the line
89 Dot is set to the last line moved.
92 Print specified lines.
93 If none specified, print
95 A single line number is equivalent to
98 A single return prints
105 Wipes out all text in buffer
106 if you give it twice in a row without first giving a
111 Read a file into buffer (at end unless specified
112 elsewhere.) Dot set to last line read.
119 substitutes the characters
123 in the specified lines.
124 If no lines are specified, make the substitution in line dot.
125 Dot is set to last line in which a
126 substitution took place, which means that if no substitution took place, dot is not changed.
128 changes only the first occurrence of
131 to change all of them, type a
133 after the final slash.
138 v/\(hy\(hy\(hy/commands
149 Write out buffer onto a file.
155 by itself prints the value of
171 Search for next line which contains
172 this string of characters.
174 Dot is set to the line where string
182 and continues to dot, if necessary.
185 Context search in reverse direction.