On 2/1/21 12:32 AM, Oğuz wrote:
.. but, I'm not sure about this case:

     $ set -o posix
     $ a=`uname >&4` env 4>&1
     bash: 4: Bad file descriptor
     a=

Bash always performs word expansions and variable assignments preceding
commands before redirections, and always has. I'm not changing it now,
after 30 years.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to