Oğuz: > `>&"$out" is very ugly though, it'd be nice if `{var}' thing worked at > the RHS of redirection operator, like `>&{var}`, which, on bash 5.0.11, > ignores `&' -another bug?- and redirects stdout to a file named `{var}'.
Probably more backwards compatibility than a bug - '>&word' (with word neither a number nor a dash) is an alternative form of '&>word': https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Redirecting-Standard-Output-and-Standard-Error Rusty
signature.asc
Description: PGP signature