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
6db8ae45
Commit
6db8ae45
authored
Jul 29, 2023
by
neil
Browse files
fix for solaris
parent
a7f3d413
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
6db8ae45
...
...
@@ -924,10 +924,10 @@ _sed_i() {
}
_egrep_o
()
{
if
_exists egrep
;
then
egrep
-o
"
$1
"
2>/dev/null
else
if
_is_solaris
;
then
sed
-n
's/.*\('
"
$1
"
'\).*/\1/p'
else
egrep
-o
"
$1
"
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