bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Arithmetic expansion in rediretion word is evaluated twice


From: Oğuz
Subject: Arithmetic expansion in rediretion word is evaluated twice
Date: Mon, 1 Jun 2020 22:34:09 +0300

See:

    $ unset foo
    $ : <$((foo+=42))
    bash: 84: No such file or directory
    $ echo $foo
    84

Reproducible on 4.4.20 and 5.0.11, couldn't try on development version
because since the last push it doesn't compile


-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]