📄 l52.1a
字号:
#printA very powerful tool is to use pairs of addresseswhich include searches. For example, to printall lines from the present line to the next linecontaining "stop", say .,/stop/p(remember that "." is the present line). In thisdirectory is a file "outline". Find the line thatbegins "B.3.i". Note that this line, and the nextfew lines, should begin "A..." for consistency.(Print the whole file to see what's wrong).Change all lines from this line tothe line beginning "B.3.v" to begin "A.3".Then rewrite the file and type "ready".#create RefFirst sectionA.1.i IntroductionA.1.ii DefinitionsSecond sectionA.2.i ScopeA.2.ii Date effectiveA.2.iii Who coveredThird sectionA.3.i Governing committeeA.3.ii Chairman's electionA.3.iii Board termsA.3.iv Board electionsA.3.v Removal procedureFourth sectionA.4.i MeetingsA.4.ii Place of meetingA.4.iii Frequency of meetingsFifth sectionA.5.i Record keepingA.5.ii Corresponding secretaryA.5.iii Recording secretaryA.5.iv Financial records#create outlineFirst sectionA.1.i IntroductionA.1.ii DefinitionsSecond sectionA.2.i ScopeA.2.ii Date effectiveA.2.iii Who coveredThird sectionB.3.i Governing committeeB.3.ii Chairman's electionB.3.iii Board termsB.3.iv Board electionsB.3.v Removal procedureFourth sectionA.4.i MeetingsA.4.ii Place of meetingA.4.iii Frequency of meetingsFifth sectionA.5.i Record keepingA.5.ii Corresponding secretaryA.5.iii Recording secretaryA.5.iv Financial records#user#cmp outline Ref#succeedYou got it right: I hope you found that the easiestway to change the file would be with the commands /B.3.i/p .,/B.3.v/s/B/A/or some such series.#log#next52.1b 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -