l50.1c
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1C 代码 · 共 55 行
1C
55 行
#printYou can use other commands than 'p' with thesecontext search addresses, of course. For example, /abc.e/s/ab/xx/pwill (1) search for the next line containing the expression "abc.e", which matches any line that has an 'a', then a 'b', then a 'c', then anything, then an 'e' (so that it matches "abcde", "abcxe", "abc9e", but not "abceq"); (2) on that line, change the first "ab" to an "xx".Edit file 'county'; find the line with 'pacific' on itand change it to 'ocean'. Then rewrite the fileand type "ready".#create Refpassaicbergensussexhudsonessexwarrenmorrishunderdonsomersetunionoceanmonmouthmiddlesexmercercumberlandcape may#create countypassaicbergensussexhudsonessexwarrenmorrishunderdonsomersetunionpacificmonmouthmiddlesexmercercumberlandcape may#user#cmp county Ref#log#next51.1a 1050.2e 5
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?