logo separator

[mkgmap-dev] --version

From lig fietser ligfietser at hotmail.com on Sat Aug 14 13:01:05 BST 2021

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 at lists.mkgmap.org.uk> namens Gerd Petermann <gpetermann_muenchen at hotmail.com>
Verzonden: zaterdag 14 augustus 2021 04:38
Aan: Development list for mkgmap <mkgmap-dev at 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 at lists.mkgmap.org.uk> im Auftrag von lig fietser <ligfietser at 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 at lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210814/914f12c5/attachment.html>


More information about the mkgmap-dev mailing list