📄 l35.1a
字号:
#printThe "*" character is also used in substitute commands,but it has a different meaning. Here it means"any number of repetitions of the previous character".(including zero!). Thus a*is any number of 'a' characters, and [ab]*is any number of either 'a' or 'b' characters. So s/ab*/xy/looks for an 'a' followed by any number of 'b'letters, and will change abbb cdeinto xy cdeYou can use '*' after anything, including for exampleblank. Thus s/a */a/removes all the blanks after the letter 'a'. In thisdirectory there is a file 'text'. On the third line,remove the blanks after the word 'the'. Then rewrite thefile and type "ready".#create RefThis is the filefor experimentationwith the(substitute)command.#create textThis is the filefor experimentationwith the (substitute)command.#user#cmp text Ref#log#next36.1a 1036.2a 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -