in reply to print lines withing specific date range from mailoog file
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print lines withing specific date range from maillog file
by theravadamonk (Scribe) on Mar 17, 2016 at 10:56 UTC | |
by Corion (Patriarch) on Mar 17, 2016 at 12:03 UTC | |
by theravadamonk (Scribe) on Mar 28, 2016 at 11:30 UTC | |
by Corion (Patriarch) on Mar 28, 2016 at 11:45 UTC | |
by theravadamonk (Scribe) on Mar 30, 2016 at 11:35 UTC |