l30.2a

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

2A
30
字号
#printChanging a whole line with the 'c' command is a slow wayto work when you only want to change a few letters.  The 's' (substitute)command changes the letters within a line.  For example, the command  s/abc/def/will change a line reading  xxxabcinto one reading  xxxdefby replacing the string 'abc' with 'def'.  Try the following sequence whichalters the first line of the file 'test' within this directory:ex test1ps/months/years/1pwqready#create RefFour score and seven years ago ourfathers brought forth ...#create testFour score and seven months ago ourfathers brought forth ...#user#cmp test Ref#log#next30.2b 5

⌨️ 快捷键说明

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