From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1757 invoked by alias); 28 Aug 2014 19:34:50 -0000 Mailing-List: contact zsh-announce-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Announcement List List-Post: (Postings are Moderated) List-Help: X-Seq: 129 Received: (qmail 29367 invoked from network); 28 Aug 2014 18:53:53 -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=-0.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, URIBL_RHS_DOB autolearn=no version=3.3.2 X-Originating-IP: [86.6.157.246] X-Spam: 0 X-Authority: v=2.1 cv=VY95PTZ9 c=1 sm=1 tr=0 a=BvYiZ/UW0Fmn8Wufq9dPrg==:117 a=BvYiZ/UW0Fmn8Wufq9dPrg==:17 a=NLZqzBF-AAAA:8 a=uObrxnre4hsA:10 a=kj9zAlcOel0A:10 a=HYshxDoSAAAA:8 a=MqYiyE_6Ln1gpkOXVIgA:9 a=LX3iUpeS6BCL-GzC:21 a=VxaPtadNMVjKElMQ:21 a=CjuIK1q_8ugA:10 a=_dQi-Dcv4p4A:10 Date: Thu, 28 Aug 2014 19:53:48 +0100 From: Peter Stephenson To: Zsh Announcement List Subject: Zsh 5.0.6 releasd Message-ID: <20140828195348.570fce8b@pws-pc.ntlworld.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Version 5.0.6 of zsh has been uploaded to http://www.zsh.org/pub/ . It will shortly be uploaded to Sourceforge, too. Git users should note that owing to a problem at the Sourceforge repository I haven't yet been able to push the version number change and the tag, however the change is entirely predictable. Thanks to all the contributors. Here's a chunk from the NEWS file. - If the option EXTENDED_GLOB is in effect, it is possible to force globbing within conditional code using the [[ ... ]] syntax by flagging that a certain string is a glob using the (#q) glob qualifier syntax. The resulting glob is treated as a single argument. For example, [[ -n *.c(#qN) ]] tests whether there are any .c files in the current directory. - In prompt strings, the %N(l.true.false) conditional (line length) and the %N<..< and %N>..> truncation operators now accept negative values of N, which count the remaining space to the opposite margin (positive values of N still count the space used since the start of the prompt). In PS1 and PROMPT, this counts to the right margin, whereas in RPS1 and RPROMPT, it counts to the left margin (not to the opposite prompt). - Another new prompt feature is the %. escape within time strings, for example %D{%H:%M:%S.%.}. It provides zero-padded decimal fractions of second; by default milliseconds are shown, but the number of digits may be indicated from 1 to 6, e.g. "%6.". (Note this is part of the extensions to strftime() formats rather than basic prompt escapes.) - The operators :^ and :^^ in parameter substitution allow for array zipping in the form ${name:^array}. With the :^ operator, all entries in $name and $array will be output in alternating order. With :^ the longer array is trimmed whereas the :^^ operator repeats the shorter array enough to match the longer array. - The value of $? when a job becomes stopped is now the signal number plus 128, for compatibility with other shells. Note that different operating systems use different values e.g. for SIGTSTP, so it is not possible in portable scripts to detect stopped jobs by comparing to a fixed number. Also, the value of $pipestatus is now updated when a job stops, not just when it exits. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/