l45.1a
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1A 代码 · 共 34 行
1A
34 行
#printThere is one last class of substitutions thatyou should know about: converting one line into two or more by substituting a newlineinto the middle. Suppose you want to split the line Now is the time for all good meninto Now is the time for all good menwithout re-typing. The substitute command is s/time /time\ /The backslash indicates that a newline is to beinserted at that point; the rest of the "s"command is actually typed on a new line.Practice by splitting the first line in file "btl" intoBell LaboratoriesMurray Hill, NJ 07974using the "s" command as illustrated above. Be sure to deletethe comma and space properly. Re-write the file, then type "ready".#create RefBell LaboratoriesMurray Hill, NJ 07974#create btlBell Laboratories, Murray Hill, NJ 07974#user#cmp btl Ref#log#next45.1b
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?