
Hi, If I run the command java -jar mkgmap.jar --version it will print a double version in the output, like this Map created with Mkgmap version 4805 4805 I've used a quite outdated mkgmap version (mkgmap-r4285) whose only output was: 4285 How can I get rid of the double 4805 4805?

Hi Minko, I expected this question ;) The change was introduced with r4656: https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4656 I don't know for sure why Mike added this line. I think I asked that before but I can't find my post. Maybe I never sent it... Is it difficult to extract the last line? I think on Linux the tool tail should help with that. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com> Gesendet: Samstag, 14. August 2021 13:15 An: Development list for mkgmap Betreff: [mkgmap-dev] --version Hi, If I run the command java -jar mkgmap.jar --version it will print a double version in the output, like this Map created with Mkgmap version 4805 4805 I've used a quite outdated mkgmap version (mkgmap-r4285) whose only output was: 4285 How can I get rid of the double 4805 4805?

Hi Gerd, I work with windows (Dos commands) ;-) Yes, I've found a workaround that only print the last line: more +1 version.txt That works for me, thanks! ________________________________ Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Gerd Petermann <gpetermann_muenchen@hotmail.com> Verzonden: zaterdag 14 augustus 2021 04:38 Aan: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Onderwerp: Re: [mkgmap-dev] --version Hi Minko, I expected this question ;) The change was introduced with r4656: https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4656 I don't know for sure why Mike added this line. I think I asked that before but I can't find my post. Maybe I never sent it... Is it difficult to extract the last line? I think on Linux the tool tail should help with that. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser@hotmail.com> Gesendet: Samstag, 14. August 2021 13:15 An: Development list for mkgmap Betreff: [mkgmap-dev] --version Hi, If I run the command java -jar mkgmap.jar --version it will print a double version in the output, like this Map created with Mkgmap version 4805 4805 I've used a quite outdated mkgmap version (mkgmap-r4285) whose only output was: 4285 How can I get rid of the double 4805 4805? _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
lig fietser