Hello. I'm trying to read a text file from the bottom up. This text file contains name/value pairs. The names don't get changed but the values do periodically. I need to read the latest value for any given name. So the txt file might look like this:
Say I want to read the "fedora" value. I am only interest in the latest entry (ie 62).Code:ubuntu=12
fedora=13
bsd=14
mint=199
fedora=76
fedora=96
fedora=62
centos=9
ubuntu=56
What's the best way to do this?