Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
ed3dda7d
Commit
ed3dda7d
authored
May 20, 2017
by
neilpang
Browse files
fix format
parent
fa93d68b
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
ed3dda7d
...
...
@@ -458,8 +458,7 @@ _h2b() {
_debug2
"xargs"
echo
"
$hex
"
|
sed
's/\([0-9A-F]\{2\}\)/\\\\\\x\1/gI'
| xargs
printf
else
for
h
in
$(
echo
"
$hex
"
|
sed
's/\([0-9A-F]\{2\}\)/ \1/gI'
)
do
for
h
in
$(
echo
"
$hex
"
|
sed
's/\([0-9A-F]\{2\}\)/ \1/gI'
)
;
do
if
[
-z
"
$h
"
]
;
then
break
fi
...
...
@@ -467,8 +466,7 @@ _h2b() {
done
fi
else
for
c
in
$(
echo
"
$hex
"
|
sed
's/\([0-9A-F]\)/ \1/gI'
)
do
for
c
in
$(
echo
"
$hex
"
|
sed
's/\([0-9A-F]\)/ \1/gI'
)
;
do
if
[
-z
"
$ic
"
]
;
then
ic
=
$c
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment