From 501f2003a89673cebc956ec5aa5f4f401b3a8f5f Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Sun, 1 Jun 2014 20:55:39 +0100
Subject: 32640: (#q) in [[ ... ]] forces globbing
---
NEWS | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'NEWS')
diff --git a/NEWS b/NEWS
index e4d747e01..87e67fd27 100644
--- a/NEWS
+++ b/NEWS
@@ -58,6 +58,13 @@ between the right hand side of the screen (this causes problems with
some terminals). It is not special and is not set by default; the
effect in that case is as if it was 1, as in previous versions.
+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.
+
Changes between 4.2 and 5.0.0
-----------------------------
--
cgit 1.4.1