l51.1a

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

1A
26
字号
#printYou can also use relative addresses of the +1 or -1sort with context searches.  For example, toprint the line after a line containing "cat",you can say  /cat/+1pHow would you print the line before the next linecontaining the word "help" at the beginningof the line?  Try some experiments if you want,but in the end type "answer COMMAND" where COMMANDis the correct command to do that.#copyin#user#uncopyin#match /^help/-1p#match /^help/-1#match /^help/-#match /^help/-p#succeedThe "p" isn't necessary, of course.#cmp X1 X2#log#next52.1a 1052.2a 5

⌨️ 快捷键说明

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