E:/MyDocs/debug/perl>perl cc.pl .. debug.c debug.cpp
change the comments : ../debug.c
change the comments : ../debug.cpp
E:/MyDocs/debug/perl>perl cc.pl .. *.c debug.cpp
change the comments : ../debug.c
change the comments : ../test.c
change the comments : ../debug.cpp
本文介绍了一个Perl脚本,该脚本可以递归地搜索指定目录下的文件,并根据通配符筛选出目标文件。对于每个找到的文件,脚本会读取其内容并替换特定形式的注释。此工具适用于批量更新源代码文件中的注释样式。
910

被折叠的 条评论
为什么被折叠?



