📄 l30.1a
字号:
#printAlthough it is always possible to fix errors by retypingthe entire erroneous line with the 'c' command, it isusually much faster to make small changes withina line. The editor allows this with the 's' (substitute)command. For example, s/abc/def/will change a line previously reading xxx abcinto one reading xxx defby replacing the string 'abc' in the line with the string 'def'.In this directory is a file 'pres' with one line that says'harry' where it should say 'george'. Fix it using thesubstitute command to change 'harry' into 'george'. Youshould use the 'p' command to print the line before andafter, checking that you did it correctly. Thenrewrite the file and type 'ready'.#create Refgeorge washington#create presharry washington#user#cmp Ref pres#log#next30.1b 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -