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 15:53:00 -0500 (EST)
- Subject: RE: how to detect if Windows or Linux is running?
- References: <31DDB7BE4BF41D4888D41709C476B6570246A883@NIHCESMLBX5.nih.gov>
- Reply-to: The Cygwin-Talk Malingering 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:
> Igor Pechtchanski wrote:
> > 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
>
> Outlook 2003 SP1/Exchange Server with Outlook-QuoteFix ver. 0.90. I've
> no control over it, except to use Outlook-QF.
>
> If "Very clever ..." was meant to be sarcastic or tongue-in-cheek, sorry
> to have answered seriously.
It wasn't, actually. Thanks for a real answer. It's always annoyed me to
see the leading "From" appear as ">From"... Heh, Microsoft has done
something right for a change... :-)
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Obligatory mention of hippos for an on-topic message... :-)