add another corner case of here documents, which bash and zsh pass
inspired by: 20:14⎜«twkm:#ksh» $ unset foo ; read -u10 foo 10<<< bar ; echo $foo which works in ksh93 (whose fd>9-support is still incomplete though)
This commit is contained in:
		
							
								
								
									
										10
									
								
								check.t
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user