As I was learning (teaching myself) to use grep, I ran into a problem, some examples I was testing didn't work as I expected. I decided to try to figure out the problem on my own. First I would check that I was using the most up to date version of grep available. I searched for hours to no avail. I saw grep 2.5 & 3.0 referenced a few times and I have 2.25. So, my simple question at this point is;
Is grep 2.25 the most recent version available for ubuntu 16.04?
apt policy grep
and see if you have the latest candidate installed. – Jos Jul 19 '18 at 13:43grep
is related to its version. I think the problem is with your expectations. I suggest asking a more specific question about your real problem. – Pilot6 Jul 19 '18 at 13:58