Skip to content

Commit b245ce4

Browse files
authored
Merge pull request #11753 from jsquyres/pr/grep-E-is-the-way
find_common_syms: use "grep -E" instead of "egrep"
2 parents 1a7c206 + 3b6796b commit b245ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/find_common_syms

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ sub object_find {
109109
# that turns out to be the case, we can try switching to "nm -P", which is
110110
# supposed to activate the "portable" (yet ugly) format. It's also unclear
111111
# at this point how common support for "nm -P" is.
112-
open(NM, '-|', "nm '${obj}' 2>/dev/null | egrep '\\s[cC]\\s'");
112+
open(NM, '-|', "nm '${obj}' 2>/dev/null | grep -E '\\s[cC]\\s'");
113113
SYMBOL: while (my $sym_line = <NM>) {
114114
if (!$all and is_allowlisted($sym_line)) {
115115
next SYMBOL;

0 commit comments

Comments
 (0)