l7.1a
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1A 代码 · 共 37 行
1A
37 行
#printAlthough specifying lines by line number iseasy to understand, it is hard to do in a longfile. You will therefore want to learn otherways of addressing lines. The 'current line'is addressed with the symbol .so that it can be printed, for example with .pjust as you could print a line by "3p".Try that in this file; the current line isset to the last line of the current file.Try ".p"; then "w", "q", and "ready" as usual.Here's the full file -#create Ref:john quincy adams#create filegeorge washingtonjohn adamsthomas jeffersonjames madisonjames monroejohn quincy adams#print file#copyout#pipeex +'set prompt noopt open' file#user#unpipe#uncopyoutgrep quincy .ocopy >X1#cmp X1 Ref#log#next7.1b 10
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?