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
1fa026b9
Commit
1fa026b9
authored
Feb 11, 2019
by
Oliver Dick
Browse files
using ' ' instead of '[:space:]' for tr
parent
4eda39a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_hostingde.sh
View file @
1fa026b9
...
@@ -46,9 +46,9 @@ _hostingde_parse() {
...
@@ -46,9 +46,9 @@ _hostingde_parse() {
notfind
=
"
${
2
}
"
notfind
=
"
${
2
}
"
fi
fi
if
[
"
${
notfind
}
"
]
;
then
if
[
"
${
notfind
}
"
]
;
then
_egrep_o
\"
"
${
find
}
\"
:.*"
|
grep
-v
"
${
notfind
}
"
|
cut
-d
':'
-f
2 |
cut
-d
','
-f
1 |
tr
-d
'
[:space:]
'
_egrep_o
\"
"
${
find
}
\"
:.*"
|
grep
-v
"
${
notfind
}
"
|
cut
-d
':'
-f
2 |
cut
-d
','
-f
1 |
tr
-d
'
'
else
else
_egrep_o
\"
"
${
find
}
\"
:.*"
|
cut
-d
':'
-f
2 |
cut
-d
','
-f
1 |
tr
-d
'
[:space:]
'
_egrep_o
\"
"
${
find
}
\"
:.*"
|
cut
-d
':'
-f
2 |
cut
-d
','
-f
1 |
tr
-d
'
'
fi
fi
}
}
...
...
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