fix format

This commit is contained in:
neil 2023-07-29 16:45:49 +08:00
parent a51025fe8f
commit 7f39cdc856

View File

@ -925,7 +925,7 @@ _sed_i() {
_egrep_o() { _egrep_o() {
if _exists egrep; then if _exists egrep; then
egrep -o "$1" 2>/dev/null; egrep -o "$1" 2>/dev/null
else else
sed -n 's/.*\('"$1"'\).*/\1/p' sed -n 's/.*\('"$1"'\).*/\1/p'
fi fi