I have this output when I grep a string in a file.$ grep java vm version dev_server0F    java vm version   : 6.1.094 25.51-b02I just need the output as 6.1.094 and remove all the other characters/ numbers around it removed. How can i achieve this?
How to grep a string in a file and output the number next to the string
sed;grep