'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:
Daniel Shahaf
2020-03-17 03:59:30 +00:00
parent 1024ae8177
commit fb69f4ca81
4 changed files with 19 additions and 6 deletions

View File

@@ -35,6 +35,9 @@
- Fix `cat < *` being highlighting as globbing when the `MULTIOS` option is unset.
[#583]
- Fix `echo >&2` highlighting the `2` as a filename if a file by that name happened to exist
[#694]
# Changes in version 0.7.1
- Remove out-of-date information from the 0.7.0 changelog.