📄 l71.1a
字号:
#printAfter the global command has selected the linesto which the second command is to be applied, it sets '.' (thecurrent line) to each of these lines in turn as it executesthe controlled command. Thus you can reference the linebefore or after the selected line. For example, g/xx/.-1s/ab/cd/changes 'ab' to 'cd' on the line BEFORE each line with xx.And g/xx/$t.+1inserts a copy of the last line in the file two linesafter each line with 'xx' on it.In this directory, the file 'memo' has paragraphs indicatedby lines beginning ".PP". Add two blanks to the beginning ofthe line after each ".PP", and then delete the ".PP" lines.This should take only two commands. Rewrite the file and thentype "ready".#create RefThe Ascent of the Riffelbergby Mark Twain I sat silent some time, then turned to Harris and said:``My mind is made up.''Something in my tone struck him; and when he glancedat my eye and read what was written there, his face paledperceptibly. He hesitated a moment, then said:``Speak.'' I answered, with perfect calmness:``I WILL ASCEND THE RIFFELBERG.'' If I had shot my poor friend he could not have fallen fromhis chair more suddenly. If I had been his father hecould not have pleaded harder to get me to give up mypurpose. But I turned a deaf ear to all he said. When heperceived at last that nothing could alter my determination,he ceased to urge, and for a while the deep silence was broken onlyby his sobs. I sat in marble resolution, with myeyes fixed upon vacancy, for in spirit I was alreadywrestling with the perils of the mountains, and my friend satgazing at me in adoring admiration through his tears. Atlast he threw himself upon me in a loving embrace andexclaimed in broken tones:``Your Harris will never desert you. We will die together!'' I cheered the noble fellow with praises, and soon his fearswere forgotten and he was eager for the adventure. Hewanted to summon the guides at once and leave at two inthe morning, as he supposed the custom was; but I explained that nobodywas looking at that hour; and that the start in the darkwas not usually made from the village butfrom the first night's resting-place on the mountainside. Isaid we would leave the village at 3 or 4 p.m. on the morrow;meantime he could notify the guides, and also let the publicknow of the attempt which we proposed to make. I went to bed, but not to sleep. No man can sleep whenhe is about to undertake one of these Alpine exploits. Itossed feverishly all night long, and was glad enough whenI heard the clock strike half past eleven and knew it wastime to get up for dinner.#create memoThe Ascent of the Riffelbergby Mark Twain.PPI sat silent some time, then turned to Harris and said:``My mind is made up.''Something in my tone struck him; and when he glancedat my eye and read what was written there, his face paledperceptibly. He hesitated a moment, then said:``Speak.''.PPI answered, with perfect calmness:``I WILL ASCEND THE RIFFELBERG.''.PPIf I had shot my poor friend he could not have fallen fromhis chair more suddenly. If I had been his father hecould not have pleaded harder to get me to give up mypurpose. But I turned a deaf ear to all he said. When heperceived at last that nothing could alter my determination,he ceased to urge, and for a while the deep silence was broken onlyby his sobs. I sat in marble resolution, with myeyes fixed upon vacancy, for in spirit I was alreadywrestling with the perils of the mountains, and my friend satgazing at me in adoring admiration through his tears. Atlast he threw himself upon me in a loving embrace andexclaimed in broken tones:``Your Harris will never desert you. We will die together!''.PPI cheered the noble fellow with praises, and soon his fearswere forgotten and he was eager for the adventure. Hewanted to summon the guides at once and leave at two inthe morning, as he supposed the custom was; but I explained that nobodywas looking at that hour; and that the start in the darkwas not usually made from the village butfrom the first night's resting-place on the mountainside. Isaid we would leave the village at 3 or 4 p.m. on the morrow;meantime he could notify the guides, and also let the publicknow of the attempt which we proposed to make..PPI went to bed, but not to sleep. No man can sleep whenhe is about to undertake one of these Alpine exploits. Itossed feverishly all night long, and was glad enough whenI heard the clock strike half past eleven and knew it wastime to get up for dinner.#user#cmp memo Ref#log#next72.1a 1072.2a 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -