grep gives a warning of: character class syntax is `[[:space:]]`, not `[:space:]` because the syntax is technically incorrect
From: Robert Lippmann robert.lippmann.development@gmail.com
grep gives a warning of: character class syntax is [[:space:]], not [:space:] because the syntax is technically incorrect --- tools/winedump/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winedump/search.c b/tools/winedump/search.c index 632d5de7aae..4a6097d7afe 100644 --- a/tools/winedump/search.c +++ b/tools/winedump/search.c @@ -63,7 +63,7 @@ BOOL symbol_search (parsed_symbol *sym) { FILE *f_grep; char *cmd = strmake( "grep -d recurse -l "%s%s" %s", sym->symbol, - !attempt ? "[:blank:]*(" : "", globals.directory); + !attempt ? "[[:blank:]]*(" : "", globals.directory);
if (VERBOSE) puts (cmd);