I'm aware that I can use sed, but I'm trying to figure out if I can do the same thing with grep.
I have the number 36.508 and I want to replace it with 36.62.
grep -v "^36.508" file3.1 | echo "36.62"
it still prints out 36.508. What is the best option for changing it from 36.508 to 36.62 using grep?