l8.2a

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 2A 代码 · 共 45 行

2A
45
字号
#printYou can give addresses involving simple arithmeticto move around in the file.  For example,   3+1pis the same as  4pin the editor.  Now that's not interesting, butif the current line (".") is line 3, then  .+1pis also 4p; it prints the next line. For example,you can print the 3rd and 4th lines of this fileusing   3p   .+1p   w   qwhere "3p" prints the third line, as usual,and then ".+1p" prints the next or fourth line.Try that.  Type "ready" when done.#create Ref:caslon:century schoolbook:"file" 8 lines, 86 characters#create filebaskervillebodonicasloncentury schoolbookfuturahelveticanews gothictimes roman#copyout#pipeex +'set prompt noopt open' file#user#unpipe#uncopyouttail -3 .ocopy >X1#cmp Ref X1 3#log#next8.2b 59.1a 10

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?