about summary refs log tree commit diff
path: root/Test/D03procsubst.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-05-02 10:25:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-05-02 10:25:27 +0000
commit94da86f7956af9d6855c12d79d757b961bf0c2a4 (patch)
treeb1f29cf6076db0a33f9e923101816756d9be8508 /Test/D03procsubst.ztst
parentd9274f5126ebd0ddb2902c0788d51ef57836b02b (diff)
downloadzsh-94da86f7956af9d6855c12d79d757b961bf0c2a4.tar.gz
zsh-94da86f7956af9d6855c12d79d757b961bf0c2a4.tar.xz
zsh-94da86f7956af9d6855c12d79d757b961bf0c2a4.zip
18492: Provide partial fix for multios and output process substitution
asynchronicity problem.  Document workarounds for remaining problems.
Diffstat (limited to 'Test/D03procsubst.ztst')
-rw-r--r--Test/D03procsubst.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index c1d7d289d..633235eb5 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -17,8 +17,8 @@
 0:<(...) substitution
 >First	Dritte
 
-  paste <(cut -f2 FILE1) <(cut -f4 FILE2) > >(sed 's/e/E/g' >OUTFILE)
-  sleep 1	# since the sed is asynchronous
+# slightly desperate hack to force >(...) to be synchronous
+  { paste <(cut -f2 FILE1) <(cut -f4 FILE2) } > >(sed 's/e/E/g' >OUTFILE)
   cat OUTFILE
 0:>(...) substitution
 >SEcond	ViErtE