[tex-live] texdoc in luatex

Zdenek Wagner zdenek.wagner at gmail.com
Tue Jun 26 18:38:48 CEST 2007


2007/6/26, Reinhard Kotucha <reinhard.kotucha at web.de>:
> Frank Küster writes:
>
>  > - How do I detect whether I'm on windows?
>
> In Perl I always test (-d "/usr/bin").  Provides correct results for
> Cygwin too (which is a UNIX-like system).
>
I use the following:

use Config;

if ($Config{'osname'} =~ /windows|cygwin|mswin/i) {
# in Windows
}

I hope it catches everything.

> Regards,
>   Reinhard
>
> --
> ----------------------------------------------------------------------------
> Reinhard Kotucha                                      Phone: +49-511-4592165
> Marschnerstr. 25
> D-30167 Hannover                              mailto:reinhard.kotucha at web.de
> ----------------------------------------------------------------------------
> Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
> ----------------------------------------------------------------------------
>
>


-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the tex-live mailing list