Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
d9ab0636
提交
d9ab0636
authored
2月 14, 2014
作者:
Nathan Neulinger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
reformat with perltidy and add sample perltidyrc file
上级
d20eb257
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
44 行增加
和
4 行删除
+44
-4
perltidyrc
scripts/perl/perltidyrc
+42
-0
timezone-gen.pl
scripts/perl/timezone-gen.pl
+2
-4
没有找到文件。
scripts/perl/perltidyrc
0 → 100644
浏览文件 @
d9ab0636
-l=120
# Max line width is 120 cols
-i=4
# Indent level is 4 cols
-ci=4
# Continuation indent is 4 cols
-st
# Output to STDOUT
-se
# Errors to STDERR
-vt=2
# Maximal vertical tightness
-cti=0
# No extra indentation for closing brackets
-pt=1
# Medium parenthesis tightness
-bt=1
# Medium brace tightness
-sbt=1
# Medium square bracket tightness
-bbt=1
# Medium block brace tightness
-nsfs
# No space before semicolons
-nolq
# Don't outdent long
# quoted strings
-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= ><<= &&= -= /= |= >>= ||= .= %= ^= x="
# Break before all operators
scripts/perl/timezone-gen.pl
浏览文件 @
d9ab0636
...
...
@@ -18,8 +18,7 @@ my $res = GetOptions(
"output"
=>
\
$output
);
if
(
!
$res
||
$help
)
{
print
"$0 [--base=/usr/share/zoneinfo] [--output=timezones.conf.xml] [--debug] [--help]\n"
;
print
"$0 [--base=/usr/share/zoneinfo] [--output=timezones.conf.xml] [--debug] [--help]\n"
;
exit
;
}
...
...
@@ -69,8 +68,7 @@ foreach my $name ( sort( keys(%name_to_file) ) ) {
}
open
(
my
$out
,
">$output"
);
print
$out
"<configuration name=\"timezones.conf\" description=\"Timezones\">\n"
;
print
$out
"<configuration name=\"timezones.conf\" description=\"Timezones\">\n"
;
print
$out
" "
x
4
,
"<timezones>\n"
;
my
$lastprefix
=
""
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论