Commit 6db8ae45 authored by neil's avatar neil
Browse files

fix for solaris

parent a7f3d413
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment