'main': When the redirection operator '>&' or '<&' is followed by a positive integer, do not consider that as a filename; it's always a file descriptor.
Fixes #694.
This commit is contained in:
@@ -36,5 +36,5 @@ expected_region_highlight=(
|
||||
'1 4 builtin' # echo
|
||||
'6 8 default' # foo
|
||||
'9 10 redirection' # >&
|
||||
'11 11 file-descriptor "issue #694"' # 2 (not path)
|
||||
'11 11 numeric-fd' # 2 (not path)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user