From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7605 invoked by alias); 9 May 2016 02:14:04 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38436 Received: (qmail 6743 invoked from network); 9 May 2016 02:14:02 -0000 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 Message-Id: <160508191448.ZM11069@torch.brasslantern.com> Date: Sun, 8 May 2016 19:14:48 -0700 In-Reply-To: Comments: In reply to Jacob Lowe "leading '=' in enviroment variable truncated" (May 7, 4:21pm) References: 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 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