文件名称:formatFileScript
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Linux] [SHELL] [源码]
- 上传时间:
- 2014-12-27
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- Mohammad*********
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
You are required to build a shell scr ipt that does text file processing. The requirements
of the text file processing are:
A. Make sure there is ONLY one single blank space after a full stop (.) and the character
that comes right after it.
B. Same behavior as in [A] for commas (,), semicolons ( ), an exclamation mark (!) and
question marks (?).
C. Remove extra blank spaces between words.
D. Capitalize every word that comes right after a full stop, an exclamation mark, a
question mark or a semicolon. Capitalize means make the first character of a word
capital letter.
E. Make lower case all the remaining letters that do not satisfy condition [D].
F. Insert a blank line between paragraphs.
G. Insert a dot at the end of each paragraph if there are no dots.
of the text file processing are:
A. Make sure there is ONLY one single blank space after a full stop (.) and the character
that comes right after it.
B. Same behavior as in [A] for commas (,), semicolons ( ), an exclamation mark (!) and
question marks (?).
C. Remove extra blank spaces between words.
D. Capitalize every word that comes right after a full stop, an exclamation mark, a
question mark or a semicolon. Capitalize means make the first character of a word
capital letter.
E. Make lower case all the remaining letters that do not satisfy condition [D].
F. Insert a blank line between paragraphs.
G. Insert a dot at the end of each paragraph if there are no dots.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
formatFileScript.sh