We work with log files that have line entries that start with a date/time format such as this:
20150408 13:29:28 <rest of text>
What would I need to do in order to grep
for a date range?
Say like all lines that start at 20150408 13:29:28
and end at 20150408 17:55:02
?
Would grep
be the tool for the job or would something else be better like sed
?
awk
may be better.