arbitrary file descriptor source and named descriptors
- Dominant language
- C
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
There is only support for redirecting from `stdout` and `stderr`. We need to support any file descriptor number (up to 10 I think?) as well as named descriptors.
Missing support for syntax:
```sh
command 5> file
command {fd_name}> file
```
See also: https://www.gnu.org/software/bash/manual/html_node/Redirections.html
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the shell's existing stdout and stderr redirection handling, then compare it with the Bash redirection rules linked in the issue. Exercise the implementation with `command 5> file` and `command {fd_name}> file`; done means arbitrary file descriptor numbers and named descriptors work alongside stdout and stderr.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, c
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100