Skip to content

Commit 193c124

Browse files
committed
l: fix egrep invocation warnings
Fix another instance of egrep missed in commit 3f8f0fa
1 parent 3580df7 commit 193c124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • scripts

scripts/l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ $ls --quoting=shell-escape -d . >/dev/null 2>&1 && quote=--quoting=shell-escape
152152
# Bypass long format manipulation if any of following formats are specified
153153
# FIXME: Matching options like this is a bit brittle
154154
lfmt=lfmt
155-
echo "$*" | egrep -- "-(m|i|x|s|C|-version|-help)" >/dev/null && lfmt=""
155+
echo "$*" | $egrep -- "-(m|i|x|s|C|-version|-help)" >/dev/null && lfmt=""
156156

157157
# set -o pipefail is bash/ksh/zsh specific
158158
# So manually propagate the exit status from ls.

0 commit comments

Comments
 (0)