From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21247 invoked by alias); 24 Oct 2013 16:20:07 -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: 31883 Received: (qmail 10335 invoked from network); 24 Oct 2013 16:20:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) Subject: Re: Strange function/pipestatus behavior, maybe a scope bug? From: "Jun T." In-Reply-To: <131023221548.ZM2352@torch.brasslantern.com> Date: Fri, 25 Oct 2013 00:17:38 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <8D69ECD8-E5BD-4319-8352-7BDFDA49FF27@kba.biglobe.ne.jp> References: <20131023092155.5ba8a54b@pwslap01u.europe.root.pri> <20131023221412.5cdecd76@pws-pc.ntlworld.com> <131023221548.ZM2352@torch.brasslantern.com> To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1816) On Mac OS X, A05execution.ztst fails as *** 1 **** ! 2048 0 0 0 --- 1 ---- ! 2048 0 0 0 Test ./A05execution.ztst failed: output differs from expected as shown = above for: repeat 2048; do (: | : | while false; do break done; print "${pipestatus[@]}") ZTST_hashmark done | sort | uniq -c i.e., number of spaces output by 'uniq -c' before the count is = different.