将实训4 :正则表达式的完成情况提交实验报告。
创建并输入文本文件
- a
- bcd
- 1
- 233
- abc123
- defrt456
- 123abc
- 12568teids
- abcfrt568
- "Open Source" is a good mechan1sm to develop programs.
- apple is my favorite food.
- Football game is not use feet only.
- this dress doesn't fit me.
- However, this dress is about $ 3183 dollars.
- GNU is free air not free beer.
- Her hair is very beauty.
- I can't finish the test.
- Oh! The soup taste good.
- motorcycle is cheap than car.
- This window is clear.
- the symbol '*' is represented as start.
- Oh! My god!
- The gd software is a library for drafting programs.
- You are the best is mean you are the no. 1.
- The world <Happy> is the same with " glad".
- I like dog.
- google is the best tools for search keyword.
- goooooogle yes!
- go! go! Let's go.
- #I am VBird


保存退出:
Esc+: wq


设置语系为C,代码:#export LANG=C

①查看以字符“a”开头的行。

②查看以字符串“abc"开头的行。

①查看以字符串“33”结尾的行。
![]()
![]()


![]()



![]()
(7)搜索到有oo的行,但不想要oo前面有g.






![]()
![]()



![]()




![]()

(25)找出含两个o的字符串。


![]()