Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16344 > unrolled thread

Arithmetic expansion in rediretion word is evaluated twice

Started byOğuz <oguzismailuysal@gmail.com>
First post2020-06-01 22:34 +0300
Last post2020-06-01 22:34 +0300
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Arithmetic expansion in rediretion word is evaluated twice Oğuz <oguzismailuysal@gmail.com> - 2020-06-01 22:34 +0300

#16344 — Arithmetic expansion in rediretion word is evaluated twice

FromOğuz <oguzismailuysal@gmail.com>
Date2020-06-01 22:34 +0300
SubjectArithmetic expansion in rediretion word is evaluated twice
Message-ID<mailman.942.1591040053.2541.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web