Toggle navigation
Toggle navigation
This project
Loading...
Sign in
YPT
/
auto_deploy_test
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chunhua.zhang
2017-07-28 11:43:40 +0800
Commit
b679e9147594f3ab21eef5ffbaffeb2a011490b2
1 parent
f70f4046
auto push by shell
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
autoconfig/test_performance/getKV.sh
autoconfig/test_performance/getKV.sh
0 → 100755
View file @
b679e91
#!/bin/bash
#key,val,filename
path
=
$(
pwd
)
for
f
in
`
ls
$path
| grep .properties
`
do
cat
$f
|
while
read
line
do
if
[[
"
${
line
:0:1
}
"
!
=
"#"
&&
"
$line
"
!
=
""
]]
;
then
key
=
$(
echo
$line
| awk -F
'='
'{print $1}'
)
val
=
$(
echo
$line
| awk -F
'='
'{print $2}'
)
echo
"
${
key
}
,
${
val
}
,
${
f
}
"
fi
done
done
...
...
Please
register
or
login
to post a comment