This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: how to detect if Windows or Linux is running?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]