This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: how to detect if Windows or Linux is running?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Date: Fri, 2 Dec 2005 10:40:59 -0500 (EST)
- Subject: RE: how to detect if Windows or Linux is running?
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Reply-to: The Cygwin-Talk Malingering List <cygwin-talk at cygwin dot com>
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