neil committed 2023-07-29 15:32:50 +08:00
1 parent c42ed9c693
commit a51025fe8f
1 file changed
+3 -1
+3 -1
View File
@@ -924,7 +924,9 @@ _sed_i() {
}
_egrep_o() {
if ! egrep -o "$1" 2>/dev/null; then
if _exists egrep; then
egrep -o "$1" 2>/dev/null;
else
sed -n 's/.*\('"$1"'\).*/\1/p'
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.