On my system, the environment variable OS is set to "Windows_NT" whether in a cmd.exe window or a Cygwin Bash shell. However, in the Cygwin Bash shell, there is the additional eVar OSTYPE which is set to "Cygwin"
does that help?
In reply to Re: Test for OS version in Perl
by goibhniu
in thread Test for OS version in Perl
by rlambert7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |