fix for solaris

This commit is contained in:
neil committed 2023-07-29 23:17:20 +08:00
1 parent a7f3d413ef
commit 6db8ae451a
1 file changed
+3 -3
+3 -3
View File
@@ -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
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.