Personally, I would use a premade solution like dategrep. But if you want to write this yourself, perlre is a good starting point. Show us the code you've already written and where it fails to do what you want. We will help you with that part.
Also, please update your node to clearly separate data from prose. Use <code>...</code> tags around your code and your data. Thanks!
In reply to Re: print lines withing specific date range from maillog file
by Corion
in thread print lines withing specific date range from mailoog file
by theravadamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |