l20.1a

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

1A
42
字号
#printYou can now change a line of a file, using only the commandsalready taught, by deleting the old line and inserting a new one.This is not a very convenient way to do that, so there is acommand 'c' (change) which combines those operations.  5c  input text  here.  .will delete line 5 and replace it by the linesinput texthere.Note that the text following 'c', just like the text after 'i' and'a', must end with a line containing just one '.' and nothing else.This directory contains a file named 'short'with six lines in it.  Change the last line to readnew version of last lineand rewrite the file; then end with "ready".#create RefThis is a short filewhich contains exactlysix lines of textof which you areto change the last linenew version of last line#create shortThis is a short filewhich contains exactlysix lines of textof which you areto change the last linethis is the last line.#user#cmp Ref short#log#next21.1a 10

⌨️ 快捷键说明

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