📄 l4.1c
字号:
#printThere are two files called "story1" and "story2" inthis directory. Collect the outputs of grep the story[12]and cat story[12] >temp grep the <tempon two files called "the1" and "the2". Thenrun "diff" on "the1" and "the2", andcollect the differences on a file called "difference".Type "ready" when you have finished all of this.#create story1 Some animals have six feet. These animals are insects.Insects are little animals. Insects creep with their six feet.Many insects have wings, too. Ants are insects. Many ants live together. They live in anthills. Many ants travel together. Ants creep on their six feet.Ants creep fast. They creep around on the ground. They creep inand out of ant hills. They creep up and down plants. They creepinto houses. Some ants have wings. They do not have wings all the time.They grow wings to fly away. They fly away to find new homes.Then they lose their wings.#create story2 "Will there be baby robins soon?" asked Bill. "We will see,"said Miss Fox. Joan said, "we have looked and looked. I thinkthere will be no baby birds." Barbara said, "It takes many days.The eggs need to be warm all the time. The mother bird warms them."Bill said, "The father bird helps, too." Joan said, "I guess I didnot think. There may be baby birds after all." One day Carl called, "Come and look. I see four baby birds inthe nest." All the children ran to look. "But they are not pretty," Joan said. Bill said, "Joan is right."#usercat story[12] >X1grep the <X1 >X2grep the story[12] >X1diff X1 X2 >X3#cmp X3 difference#log#next4.1d 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -