Hi group,
A co-worker is updating a wrapper script for a java program. She asked me to provide a function to tell her the installed java version because her app needs java 1.6. So, I need a little subroutine that will parse the output of 'java -version' in to a normalized version string, like '1.5', 1.6', etc.
This is no doubt a dead simple problem EXCEPT I'm a Unix guy who doesn't know MSDOS at all and doesn't have the day or two it would take me to wrap my head around a new scripting language.
If anyone is feeling charitable and wants to bang one out for me, I would be forever grateful.
Thanks
Larry