From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1255 invoked by alias); 5 Oct 2015 17:45:13 -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: 36783 Received: (qmail 11044 invoked from network); 5 Oct 2015 17:45:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 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:content-type; bh=yE+BU9a+z3zjvV4ZwwutLSMAGmtpIiGPWKAei9/KOb0=; b=ZJykdHblh9uJe6tCNgloVAgMDpVvwvqE1KsKeD4y0TtWGoD0lpjAAGF5Q/+swaWPAo phpGwRDVhMVAiJRE7RiOgh8o3WSDBB/VWPGOzdfYzJ2dfRQ7jquGc9sNrl/RP44fEpOj YM0/8BBBtQCU25A/dRVJVL/SpEiCsteAm8FvhrbHX4gnr75eMFMEiESXVqeMdSZHPkOh VqU6aPDt++0xzM6BdpFN6+sZiTYdUKJGLkfJeNBHiMDASgtWVgAkIoLFMfSl0wnt4Ley tIc2w3CTtsdrPgQv7XK8vf6LE0JxlozwjQu9Sspc4Skh6o+bkiqgd9YJ60sCaqCLGUij 53fg== X-Gm-Message-State: ALoCoQnLEQi4KzUxsEaomWl352V3MHFuRb9iKM7KPr7FX5TA7+gqqwKeMMlNFCVfKN8xu64dq9i/ X-Received: by 10.202.94.133 with SMTP id s127mr17613151oib.92.1444067110439; Mon, 05 Oct 2015 10:45:10 -0700 (PDT) From: Bart Schaefer Message-Id: <151005104507.ZM19176@torch.brasslantern.com> Date: Mon, 5 Oct 2015 10:45:07 -0700 In-Reply-To: <20151005174219.69ae85c4@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: syntax check of 'echo $HOME' crashes in ksh emulation mode" (Oct 5, 5:42pm) References: <1693579.IilOBOKrgc@kdudka.brq.redhat.com> <20151005174219.69ae85c4@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: syntax check of 'echo $HOME' crashes in ksh emulation mode MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 5, 5:42pm, Peter Stephenson wrote: } } I'm not sure if we need to be more careful in paramsubst(), too, but if } we're not setting HOME because this is ksh emulation we should certainly } say so. Hrm. But we DO set HOME in ksh emulation if the -n option is not given. What is it about no_exec that changes things?