zsh-users
 help / color / mirror / code / Atom feed
From: Mike Hernandez <sequethin@gmail.com>
To: Dan Nelson <dnelson@allantgroup.com>, zsh-users@sunsite.dk
Subject: Re: Airthmetic confusion...
Date: Mon, 16 May 2005 21:19:22 -0400	[thread overview]
Message-ID: <3060c239050516181964683a55@mail.gmail.com> (raw)
In-Reply-To: <20050516214611.GA90284@dan.emsphone.com>

On 5/16/05, Dan Nelson <dnelson@allantgroup.com> wrote:
> That's because within an arithmentic context, 0 is false and 1 is true,

Ok so you're saying that since 0 is false in the arithmetic context,
it gets translated by the shell to be 1, because 1 is false in the
shell context? That makes sense... but it does make things very
confusing ;) True translates to true, and false translates to false,
which is totally sound and logical... but the fact that 1 is true in
one context and false in another makes it seem that true is translated
into false *sigh*. I had to read this email 10 times before I sent it
to make sure I even typed what I meant ;)


Mike


  reply	other threads:[~2005-05-17  1:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 17:55 Meino Christian Cramer
2005-05-16 20:43 ` Matthias Berndt
2005-05-16 20:59   ` Mike Hernandez
2005-05-16 21:46     ` Dan Nelson
2005-05-17  1:19       ` Mike Hernandez [this message]
2005-05-16 23:39     ` Matthias Berndt
2005-05-17  3:13     ` Meino Christian Cramer
2005-05-17  3:48       ` Bart Schaefer
2005-05-17 11:26         ` Mike Hernandez
2005-05-17 14:57         ` Meino Christian Cramer
2005-05-17  3:14   ` Meino Christian Cramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3060c239050516181964683a55@mail.gmail.com \
    --to=sequethin@gmail.com \
    --cc=dnelson@allantgroup.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).