l35.2a

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

2A
31
字号
#printThe '*' character is also used in the editor patterns (the regularexpressions) but it has quite a different meaning from '*'as used in filenames.  In the editor it means "anynumber of repetitions of the previous character."  Thus  a*might match "a" or "aa" or "aaa" or "aaaa" and so on.It might also match nothing, because "any numberof repetitions" includes "zero"!  Perhaps itwill be clearer after you do the following example.Note what happens to the two lines.  Typeex file1,2p1s/xa*/xy/2s/xa*/xy/1,2pwqready#create Refabxyabxycd#create fileabxaaaabxcd#user#cmp file Ref#log#next35.2b 5

⌨️ 快捷键说明

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