Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version;
        bh=Ucn0xu6+8tNfTjy4w3+hzWOq4Wf7hMo+npHZanSXiik=;
        b=N8aPHurRjlcCEBPitRgYoi2nNp3cnbVjPvnR7iLhESG0fNlrooz7FOt0uoZeAtA8T5
         R0XpIRa9FFFpKOSeXogYjjbc/435VYvMlinRMxtYJKRrqjjcmOVbjweMW7LJiqAsoZI7
         bh1TFNBsdGAd1b4sG61iSRK2ACuJfRsSZuEghUIyE5oPayFtM1k6Zq0fcC3laWrEXCnH
         RwLBooW8iAdf0w+EtWx+mkC+UtPq+cZnWlWYDu4hSfpHdoduyGBqEspDvy3eK3vQ7hV7
         XYSanOJDtMEglaDyYA/6zjeQ9N0sPZr+krl6/8f2ZPEZvj/ymgkg/TKyNg1c7LdLZ6Tr
         sBKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version;
        bh=Ucn0xu6+8tNfTjy4w3+hzWOq4Wf7hMo+npHZanSXiik=;
        b=VxmpwX7gah/nztddJ7NObIUtju3EmTtIibIp9Hm1zAq9Bo/g7NVIgyAl0MEs1LZkLk
         FvAqXRlU/V7gW5RjPR++V7GuH4tDqRhSJL9aivrbZxCeSlCsBhR1qV85aVAtZu50h9ls
         uP48hGhtydBTBeV/iUozqvrfzZgGfcvIyLdQ8SK9GaS+dU2b3zS56d9tFaocdOwd1Fwu
         ItF08VMrsSrfPOWCjyA7arTBNIwf17oAoUxLg359cTir+/fC4gw7p2OR3xKh+mQU0hUs
         MHvxGMwO/lKkBowaJyCKUtmro52y+jqtubvm7Mwv6KXjtuf4HgeEgA0XXtw0IJRNZJPG
         bIWg==
X-Gm-Message-State: AOPr4FXto9bjNmtfQuMB/sOGxQ0gTDqo8/pG5YMY1IZI1j0hhS//dKvCoBEc8IuYpiwxag==
X-Received: by 10.98.4.195 with SMTP id 186mr16579040pfe.154.1462760040657;
        Sun, 08 May 2016 19:14:00 -0700 (PDT)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160508191448.ZM11069@torch.brasslantern.com>
Date: Sun, 8 May 2016 19:14:48 -0700
In-Reply-To: <CAEyFG7ZkxS9iuVtEoJT2aa_ErBm=Nm6JqkpSgt=-=3P-nuZBtg@mail.gmail.com>
Comments: In reply to Jacob Lowe <jacoblowe2.0@gmail.com>
        "leading '=' in enviroment variable truncated" (May  7,  4:21pm)
References: <CAEyFG7ZkxS9iuVtEoJT2aa_ErBm=Nm6JqkpSgt=-=3P-nuZBtg@mail.gmail.com>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: zsh-workers@zsh.org, zsh-workers@zsh.org
Subject: Re: leading '=' in enviroment variable truncated
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 38436

On May 7,  4:21pm, Jacob Lowe wrote:
}
} From the feedback in the ticket, it seems this is happening in ZSH only and
} when logging into bash the command works as expected. I also tried
} something very similar in ruby and got the same result.
} 
} TEST='=test' ruby -e 'puts ENV["TEST"]'

Peter's discovery that this is a documented feature of iOS / OSX "setenv"
points to the obvious workaround:

TEST='==test' ruby -e 'puts ENV["TEST"]'


-- 
Barton E. Schaefer

