-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osh-language] Evaluate redirect words that are paths differently
They now use the EvalWordSequence() algorithm, to match bash, and zsh to a degree. - globs and extended globs are respected - word splitting is done - brace expansion is disallowed, unlike bash - expanding to zero files is an error - expanding to two or more files is an error For example echo hi > two-* Note that other shells are inconsistent about: star='*' echo hi > two-$star bash and OSH do globbing there too. Add more spec tests. This is issue #1521.
- Loading branch information
Andy C
committed
Sep 1, 2023
1 parent
d13435e
commit 9fd4445
Showing
10 changed files
with
375 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.