From dce1f33c02c855e9d5f588716d7e9ddaea3887ba Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Wed, 1 Jul 2015 21:44:50 +0100
Subject: 35667: fix command substitution that starts but doesn't finish in
alias
---
Test/D03procsubst.ztst | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'Test/D03procsubst.ztst')
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index c763f6e0f..07ec63996 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -88,6 +88,7 @@
print something=${:-=(echo 'C,D),(F,G)'}
1: Graceful handling of bad substitution in enclosed context
?(eval):1: unterminated `=(...)'
+# '`
() {
print -n "first: "
@@ -115,3 +116,8 @@
0:Process substitution as anonymous function argument
>Execute a complicated order first
>This line was brought to you by the letters F and D
+
+ alias foo='cat <('
+ eval 'foo echo this is bound to work)'
+0:backtacking within command string parsing with alias still pending
+>this is bound to work
--
cgit 1.4.1