📄 l6.1a
字号:
#printYou may well ask how the editor knows which line to print.The editor keeps track of the 'current line', whichis usually the last line you touched in any way.When you begin editing a file, for example, thecurrent line is the last line.If you want to print any particular line, however,that is easy. For example, to print the 3rd line you say 3pTo print the first line 1p(That's a one, no matter how much it looks like the letter "l".)Here is a file: I'll put you into the editorwith that file as the 'current file' - print the 4th line,then type 'w', 'q', and "ready" as usual.#create Ref:james madison#create filegeorge washingtonjohn adamsthomas jeffersonjames madisonjames monroejohn quincy adams#print file#copyout#pipeex +'set prompt noopt open' file#user#unpipe#uncopyoutgrep madison .ocopy >X2#cmp Ref X2#log#next7.1a 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -