资源简介
四川大学软件学院系统级编程lab10 优化分析代码
代码片段和文件信息
/* substitute -- substitute strings in a list of files
This program operates on a set of files listed on
the command line. The first file specifies a list of
string substitutions to be performed on the remaining
files. The list of string substitutions has the form:
“string 1“ “replacement 1“
“string 2“ “replacement 2“
...
If a string contains a double quote character or
a backslash character escape the character with
backslash: “\““ denotes the string with one double
quote character. “\\“ contains one backslash.
Each file is searched for instances of “string 1“.
Any occurences are replaced with “replacement 1“.
In a similar manner all “string 2“s are replaced
with “replacement 2“s and so on.
The results are written to
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 79954 2015-12-02 21:31 trigram.docx
文件 4562 2015-12-02 21:42 substitute.cpp
文件 718786 2015-12-02 21:03 substitute.docx
----------- --------- ---------- ----- ----
803302 3
- 上一篇:国军标(GJB) 汇总
- 下一篇:智能彩灯控制源代码
评论
共有 条评论