[tex-live] texdoc in luatex
Reinhard Kotucha
reinhard.kotucha at web.de
Tue Jun 26 19:03:59 CEST 2007
Zdenek Wagner writes:
> > 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
> }
This assumes that Cygwin is Windows. But within a Cygwin environment
you have a filesystem with a single root, forward slashes as directory
separators, X11, and bash. There is not very much which looks like
windows, though all binaries have the extension ".exe".
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.
----------------------------------------------------------------------------
More information about the tex-live
mailing list