On Thu, Feb 23, aighes wrote:

> Am 22.02.2012 19:23, schrieb Thorsten Kukuk:
> > And redirecting the output of "mkgmap --version" to a file is a really 
> > simple task. 
> Hi did you tried it?
> 
> echo java -jar mkgmap.jar --version > test.txt
> 
> doesn't work. Version is only printed to stdout (cmd), not to test.txt. 
> I don't know if it is a Windows-thing or a mkgmap-thing. If this works, 
> everything would be fine. :-)

Don't know about Windows, but with Linux:

java -jar mkgmap.jar --version 2> test.txt

No need for the echo. And you need to redirect stderr.

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to