From f4790e8773ee65eb1d96326fd804d28b8907bd3d Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 9 Jul 2008 20:31:19 +0000 Subject: [PATCH] =?UTF-8?q?add=20another=20corner=20case=20of=20here=20doc?= =?UTF-8?q?uments,=20which=20bash=20and=20zsh=20pass=20inspired=20by:=2020?= =?UTF-8?q?:14=E2=8E=9C=C2=ABtwkm:#ksh=C2=BB=20$=20unset=20foo=20;=20read?= =?UTF-8?q?=20-u10=20foo=2010<<<=20bar=20;=20echo=20$foo=20which=20works?= =?UTF-8?q?=20in=20ksh93=20(whose=20fd>9-support=20is=20still=20incomplete?= =?UTF-8?q?=20though)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check.t | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/check.t b/check.t index 6087872..1bdc28e 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.205 2008/07/08 22:29:00 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.206 2008/07/09 20:31:19 tg Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ @@ -1498,6 +1498,14 @@ expected-stdout: one $sabeq onm --- +name: heredoc-9d +description: + Check another corner case of here strings +stdin: + tr abcdefghijklmnopqrstuvwxyz nopqrstuvwxyzabcdefghijklm <<< bar +expected-stdout: + one +--- name: heredoc-quoting-unsubst description: Check for correct handling of quoted characters in