2i   . ,l ed is the standard Unix text editor.$ $ This is line number two.$ 3s/two/three/ ,l ed is the standard Unix text editor.$ $ This is line number three.$ w text 65 q The end result is a simple text file containing the following text: ed is the standard Unix text editor.   This is line number three.
2i . %l ed is the standard Unix text editor.$ $ This is line number two.$ 3s/two/three/ ,l ed is the standard Unix text editor.$ $ This is line number three.$ w text 65 q В результате файл будет содержать следующий текст: ed is the standard Unix text editor.