brush version
brush 0.4.0
bash version (for comparison)
GNU bash, version 5.3.9(1)-release
Platform / OS
Linux
Steps to reproduce
Actual behavior (brush)
error: invalid redirection target
Expected behavior
Additional context
As described in https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Redirections
If {varname} were in place of a number before a redirection operator, bash find the next available fd >= 10 and store it in varname. Similarly, to close a dynamic fd, place {varname} before a close operator, i.e. {varname}>&-.
brush version
brush 0.4.0
bash version (for comparison)
GNU bash, version 5.3.9(1)-release
Platform / OS
Linux
Steps to reproduce
Actual behavior (brush)
Expected behavior
Additional context
As described in https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Redirections
If
{varname}were in place of a number before a redirection operator, bash find the next available fd >= 10 and store it invarname. Similarly, to close a dynamic fd, place{varname}before a close operator, i.e.{varname}>&-.