Peter Stephenson
4384fdc7f0
44446: Fix here document with file descriptor declarator.
...
Add unit test.
2019-06-24 20:19:19 +01:00
Ricardo Giorni
f7519811e1
47201: fix 42355 for multiple backslashes
2018-04-29 12:05:39 -07:00
Martijn Dekker
fa0105f78c
42538: Temporarily set umask for here document.
...
Done while signals are queued.
2018-03-27 09:32:55 +01:00
Peter Stephenson
47aa60950c
42355: Fix use of backslashes on here doc input.
...
Handling of white space in particular was confusing and inconsistent
with other shells.
2018-02-12 10:06:45 +00:00
Peter Stephenson
97c74dcb0e
42110: Fix redirections between variable assignments at start of line
2017-12-12 09:13:41 +00:00
Peter Stephenson
af1c82d646
40173: Off-by-one error checking for {varid}.
...
This caused a single unprintable character in braces before a
redirection to be treated as an indentifier.
2017-05-08 18:00:55 +01:00
Peter Stephenson
641a764b82
users/22688: Allow mixing redirs and arguments after anon functions.
...
These are parsed differently from the case of normal functions which
can't take normal arguments at that point.
2017-05-08 17:19:22 +01:00
Peter Stephenson
f25d01a97c
Fix combination of HERE document and |&.
...
A missing flag setting up the HERE document mean that the size
of the wordcode needed to append the 2>&1 was counted incorrectly,
so the resulting wordcode was garbled.
Add test.
2017-05-08 10:54:08 +01:00
Peter Stephenson
0e63286bd4
36399: Shell code text with multiple here documents wasn't shown properly.
2015-09-02 14:20:44 +01:00
Peter Stephenson
ffb3168586
34901: Test for the previous commit
2015-04-15 21:29:04 +01:00
Peter Stephenson
638bfa93a0
users/19756: test for case of closing fd with no error message
2015-01-20 11:53:42 +00:00
Peter Stephenson
e6d9642467
users/19751: remove error on failure to close file descriptor by number.
...
Keep it when closing file descriptor stored in a variable, i.e.
explicitly opened by the user.
2015-01-20 09:29:22 +00:00
Peter Stephenson
0557c226fc
33294: $functions[func_with_redir] plus extra tests
2014-09-30 12:58:52 +01:00
Peter Stephenson
8cb67e721b
33286: handle redirections for multiply named functions
2014-09-29 21:31:37 +01:00
Peter Stephenson
cf6b0f5663
33285: apply function definition redirections at execution
2014-09-29 21:02:59 +01:00
Peter Stephenson
fb3ad98f71
31141: Tighten NO_CLOBBER restrictions on {fd} syntax
...
to apply only if $fd is exactly an fd and nothing else.
2013-03-10 21:45:04 +00:00
Peter Stephenson
7c56d77184
30789: Add CONTINUE_ON_ERROR for old behaviour.
...
New behaviour is for scripts to exit on error instead of returning
to top level and executing the next command.
2012-11-15 21:08:15 +00:00
Peter Stephenson
61b9529ff8
users/17310: we can't treat < after [ as a normal character.
...
Document problem and test for case that needs to work.
2012-10-03 18:11:12 +00:00
Peter Stephenson
22aede45f6
29928: belated commit to fix OpenBSD redirection test
2011-12-08 15:55:10 +00:00
Peter Stephenson
ae8e3ba86d
29924: add ability to match test output using patterns
2011-12-01 21:52:55 +00:00
Peter Stephenson
c88084895d
29923: work around test problem with invalid file descriptor message
2011-12-01 14:22:55 +00:00
Peter Stephenson
faa02346a8
29844, 29845: remove bogus
...
error on closing fd's 0 to 9; update test
2011-10-26 18:48:13 +00:00
Peter Stephenson
b12242cb3f
29561: missed file
2011-07-27 19:14:16 +00:00
Peter Stephenson
7bc97b920b
28866: with POSIX_BUILTINS "command" prefix resets specialness
2011-03-06 21:37:38 +00:00
Peter Stephenson
dbbcbf67cb
28791: exit on errors with special builtins with POSIXBUILTINS
2011-02-22 20:09:20 +00:00
Peter Stephenson
0e792b9447
28784: exit on exec redirection error with POISX_BUILTINS
2011-02-21 11:28:49 +00:00
Peter Stephenson
f1495f5099
28259: Finally fix some ancient problems with here-documents
2010-09-14 14:46:26 +00:00
Peter Stephenson
626286a5f7
26029: test for redirection with no preceding whitespace
2008-11-12 10:55:18 +00:00
Peter Stephenson
948f015df0
24711: fix re-presentation of here-documents munged internally
...
to here-strings
2008-03-14 11:40:57 +00:00
Peter Stephenson
3d3318d8f6
22550: put "exec" tests
...
in subshells and allow substitution on test output to occur
after the test.
2006-07-12 12:02:51 +00:00
Peter Stephenson
0a22eb0e0c
22546: fix {myfd}>... bug and tweak tests
2006-07-11 15:36:37 +00:00
Peter Stephenson
ad2bd42c85
21758: optimise =(<<<...) to run within the shell.
2005-09-23 17:03:16 +00:00
Bart Schaefer
318b52969b
Update test for change in error message.
2005-04-16 23:24:54 +00:00
Peter Stephenson
c69b149cb5
21141: fix some issues associated with the {myfd}>... syntax
2005-04-14 16:24:42 +00:00
Peter Stephenson
bfdccce23e
21134: bad file descriptor error message system variation.
...
Hey, six nouns in a row!
2005-04-12 17:39:19 +00:00
Peter Stephenson
b3f8e32e5c
21133: New {myfd} syntax for allocating file descriptors
2005-04-12 15:11:07 +00:00
Peter Stephenson
91aeae74f2
20112: Forgot this bit.
2004-06-30 10:01:05 +00:00
Peter Stephenson
94da86f795
18492: Provide partial fix for multios and output process substitution
...
asynchronicity problem. Document workarounds for remaining problems.
2003-05-02 10:25:27 +00:00
Peter Stephenson
7060b34457
15334: use string "(eval)" as script name in debugging messages in eval's
2001-07-09 18:31:24 +00:00
Peter Stephenson
cef000cc62
15329: test script changes to go with 15327 LINENO change
2001-07-09 16:41:19 +00:00
Sven Wischnowsky
7b364c15e5
moved from ./Test/04redirect.ztst
2001-04-02 12:31:04 +00:00