问题
bash script that search the postfix queue id and search different .gz files in selected data range files , but script keeps on searching all logs if i gave same date ,
wanted to search only selected date range files log files list in folder
maillog-02052020.log.gz
maillog-03052020.log.gz
maillog-04052020.log.gz
maillog-05052020.log.gz
maillog-06052020.log.gz
maillog-07052020.log.gz
maillog-08052020.log.gz
maillog-09052020.log.gz
executing this script like this
sh testscript.sh frommail@xyz.com tomail@xyz.com 04/05/2020 06/05/2020
script from email id to email id from date end date
script:-
来源:https://stackoverflow.com/questions/61839434/bash-end-loop-for-postfix-logs