📄 l36.1a
字号:
#printSo far all the special characters in the substitute commandhave been used in the left-hand expression, the one thatis looked for in the line as it exists before the change.None of these characters are meaningful in the right-handexpression; for example, s/ab/a./turn "ab" into "a." just as if "." were an ordinary letter.But there is one character that is special on the rightside of a substitution, which is '&'. The ampersandis replaced by whatever text is being replaced. In s/the/&m/the string "the" is turned into "them" because the '&' isreplaced by "the".In this directory there is a file 'text'; on the third line,change the word 'dog' into 'dogs'; then rewrite the fileand say "ready".#create Refcatmousedogsrat#create textcatmousedograt#user#cmp text Ref#log#next37.1a 1037.2a 6
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -