refactor: 脚本及配置文件命名统一用 _ 分隔
将 .sh/.bat 脚本与 .js/.plist/.Dockerfile 等文件中以 - 分隔的文件名 改为 _ 分隔,dcloud-renew 目录改为 dcloud、script_nuance 目录改为 nuance,并同步更新脚本内部引用与 README 路径。 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
This commit is contained in:
21
nuance/tools/convert_summary_for_excel.pl
Normal file
21
nuance/tools/convert_summary_for_excel.pl
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
open(SUM, "$ARGV[0]");
|
||||
open(EXCEL, ">". "$ARGV[0].excel");
|
||||
|
||||
if ($ARGV[0] eq '')
|
||||
{
|
||||
print "Converting summary file $ARGV[0] to excel format.\n";
|
||||
print "Usage: perl $0 SUMMARY_FILE\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
while(<SUM>)
|
||||
{
|
||||
chomp($_);
|
||||
$_ =~ s/^ +//g;
|
||||
$_ =~ s/ +$//g;
|
||||
$_ =~ s/ +/ /g;
|
||||
$_ =~ s/ /\t/g;
|
||||
$_ =~ s/%//g;
|
||||
print EXCEL $_."\n";
|
||||
}
|
||||
Reference in New Issue
Block a user