l38.2a
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 2A 代码 · 共 26 行
2A
26 行
#printSometimes you want to recognize a string of charactersonly if they appear at the beginning of the line.The character '^' is used for this purpose. Thecommand s/^ab/xy/will change "ab" to "xy" only if "ab" begins the line.Try the following and watch what it does.ex file1,2p1,2s/^ab/xy/wqready#create Refxycd abcd#create fileabcd abcd#user#cmp file Ref#log#next38.2b 5
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?