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 17:43:49 -0500 (EST)
- Subject: RE: how to detect if Windows or Linux is running?
- References: <31DDB7BE4BF41D4888D41709C476B6570246A88F@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:
> >
> >> 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
>
> >From other postings, <= cut and paste from above.
^^^^^
> Sure it's not Outlook-QuoteFix? Immediately above, through the wonders
> of cut-and-paste, is an experiment. This email (though not its text)
> has never seen Outlook-QuoteFix. Did it still get =46 right? (I'm
> loath to give MS undeserved credit.)
Yep, what do you know, the "grim 'greater' garb" is back... Yay for
QuoteFix. :-)
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!
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA