l13.2a
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 2A 代码 · 共 34 行
2A
34 行
#printRemember that "$" is the last line inthe current file. Suppose you want toknow how long the file is, i.e. what thenumber of the last line is. The command $=will tell you that. So you can find the lengthof the file "data" by saying in the editor $= wqTry that; then check by listing the filewith "cat" to see how long it is. Then type"ready".#create dataThis is the filewhich you shouldfind the numberof lines in bytyping "$=" inthe editor and seethat it has exactlynine lines in itwhen printed.#copyout#pipeex +'set prompt noopt open' data#user#unpipe#uncopyoutgrep ':9' .ocopy >/dev/null#log#next13.2b 5
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?