-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC3023
Joachim Ansorg edited this page Jul 5, 2024
·
2 revisions
(or "In dash, ... are not supported." when using dash
)
# Open FD #10 for writing
exec 10> file
Either rewrite the script to only use FDs in the valid range, or switch to a shell that allows a larger range like bash
or ksh
.
The shell grammar is only required to recognize a single digit before redirections to set the file descriptor, which limits the portable range to 0-9.
None.
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!