while read pattern do grepmail -e $pattern 1998-2022.Newest > Mailbox-Six-Dates.txt done < Six-strung-out-dates.txt