how to detect if Windows or Linux is running?

Igor Pechtchanski pechtcha@cs.nyu.edu
Fri Dec 2 15:41:00 GMT 2005


On Fri, 2 Dec 2005, Buchbinder, Barry (NIH/NIAID) wrote:
>
> H. S. wrote:
> [snip]
> > er .. how can I do that using SSH and non-interactively?
> >
> > thanks,
> > ->HS
>
> From other postings, I see that you've found the answer to your
^^^^^^
> question.  But for completeness in the archives ....
>
> I don't use SSH so don't know what you are dealing with.  But in shell
> scripts,
> 	if test -z "${NVAR}"
> or
> 	if test ! -z "${VAR}"
> can test whether VAR has a value.

I was a bit taken aback by seeing an unquoted initial "From" in a message,
until I saw the raw message source.  Looks like Barry's mailer uses
quoted-printable encoding to quote the initial "F" (as "=46").  Very
clever -- I wonder what mailer that is...
	Igor



More information about the Cygwin-talk mailing list