From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15727 invoked by alias); 20 Jan 2016 21:38:33 -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: 37711 Received: (qmail 14571 invoked from network); 20 Jan 2016 21:38:30 -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,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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:content-type; bh=kb5fNmCK/SwQ3YTmfKLo08BidHDLKfbVkpdfjNM3Mg8=; b=xixDX41oqyCMnjE40R4fgmn3VM/8lLT9K3IrZf7fSkmqk2ue0LNXdv6ncTcLXxi/J9 Vc6PSFsjqIuKLPPpCwMUUrd6nKzIUxp+W+WfDqAb07DrDwQfe1ieRIrvfe5sGsLcGLFk G7qU8FE9nacvdKjDVcwSSQHnwuuOnNcj1F8aYnGf3Q0dyqmt/nheZ93v/2DabF/luxBv bn8AyYs7cpecsSDhakOqCnuXCtD3EAC9m6KwD88KucSyGN5kcH8LeqcOCgjO0kr9byOY B5nNz8M9M+SNrkOuA5uuP/1QyeGhh8eQA3aK2/CsyV7cR5tg5P9ma200pVVor01r5d2E hjIQ== 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=kb5fNmCK/SwQ3YTmfKLo08BidHDLKfbVkpdfjNM3Mg8=; b=P6hTvXSvdNDM+dfW3YKV/RB9C8IgC4+J9/yhTqaW0whbgOM69dL56J+tygxpV6f78n 304fc8il2Hk5f6bQR9BjbOegPQkFPjNjL5mklRwHtZbh/Kz+8ggDtrapdYSgMbz1J/rz pburhFsCYXm+0KLqsCO5eHabgF8Ka005R2yUQU+invsvmbl9Wp8y588uY5xWeEFadZYV wNpX/JUpeCZdp1VslwBiuW0SFq/5J4koCpTt2ehRlCvhtNL1DY9DP0/CbaJgt9mLtcIR BVdFMJuK8uBhfP8Yklk2iuWJEsUMFr1KmU/NCNvWrvH/yRntJzUDL9RQatzGuZMdNEqs IOUw== X-Gm-Message-State: ALoCoQn7e00+KJUQow2gBMZUpqGQsiiNblz3IJkeJdC1dtdrNFY/GLcGq5myer6lkOz8mULRMVJbI8tlmf/2AidzVDegh+oQeA== X-Received: by 10.98.42.81 with SMTP id q78mr55158920pfq.142.1453325908667; Wed, 20 Jan 2016 13:38:28 -0800 (PST) From: Bart Schaefer Message-Id: <160120133858.ZM21525@torch.brasslantern.com> Date: Wed, 20 Jan 2016 13:38:58 -0800 In-Reply-To: <20160120220614.18fe6683@enterprise> Comments: In reply to Trek "test is not posix" (Jan 20, 10:06pm) References: <20160120220614.18fe6683@enterprise> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Trek , zsh-workers@zsh.org Subject: Re: test is not posix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 20, 10:06pm, Trek wrote: } } the -n and -z options of the test utility are not posixly correct if the } argument is "!", "(", ")" or "-a" I'm not able to reproduce this; what is the $ZSH_VERSION or $ZSH_PATCHLEVEL that you are testing? What do you see if you run with the -x option? % ARGV0=sh Src/zsh -c 'test -n "!" && echo OK' OK %