I have a grep that works for some of the dates but having trouble getting my brain to make it fully functional.
grep 19[6-9][5-6]$ filename
it catches a few correctly but I'm looking to grab all years between 1965-1996.
Here is the current solution but looking for a one line really, but here's what I've gotten so far:
grep 196[5-9]$ filename grep 197[0-9]$ filename grep 198[0-9]$ filename grep 199[0-6]$ filename
Looking for better and shorter if possible?