mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Usr get_last_path_component() name basename()
This commit is contained in:
parent
c36642195c
commit
81ee96fe62
@ -244,7 +244,8 @@ extern int grep_main(int argc, char **argv)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_FEATURE_GREP_EGREP_ALIAS
|
||||
if (strcmp (basename (argv[0]), "egrep") == 0)
|
||||
junk = get_last_path_component(argv[0]);
|
||||
if (junk && strcmp(junk, "egrep") == 0)
|
||||
reflags |= REG_EXTENDED;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user