grep -E not egrep

This commit is contained in:
bth 2024-02-17 09:15:41 -08:00
commit 2e885655af
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
# in plain terms: # in plain terms:
# [leading numbers with consistent width].[optional string descriptor and . separator][md|txt] # [leading numbers with consistent width].[optional string descriptor and . separator][md|txt]
UMALLFILES=`ls | egrep '^[[:digit:]].*\.(md|txt)'` UMALLFILES=`ls | grep -E '^[[:digit:]].*\.(md|txt)'`
LASTSTATUS=$? LASTSTATUS=$?
# NOTE: if we don't stop and signal here, tail will exit 0 # NOTE: if we don't stop and signal here, tail will exit 0

View file

@ -1,2 +1,2 @@
# just list the files so we can pipe it. # just list the files so we can pipe it.
grep -l "\+ $@" *md grep -lE "\+ $@" *md