Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [bug] redirections and nullglob+multios



I will push the patch in 53959 with the following test:


diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index 1526b6191..33458e3ba 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -541,6 +541,10 @@
 >No file beginning with z
 >Normal string if nullglob not set
 
+  echo > glob.tmp/nonexistent(N)
+1:redirect to a non-matching pattern is an error even with flag (N)
+?(eval):1: redirection failed (no match): glob.tmp/nonexistent(N)
+
   (
     setopt extended_glob no_nomatch
     cd glob.tmp






Messages sorted by: Reverse Date, Date, Thread, Author