Denys Vlasenko | 45dd87a | 2020-02-21 16:30:44 +0100 | [diff] [blame] | 1 | >tempfile0.tmp |
2 | >tempfile1.tmp | ||||
3 | >tempfile9.tmp | ||||
4 | # The [...] is interpreted as: "any of the chars 0, -, and 9" | ||||
5 | echo tempfile[0"$((-9))"].tmp | ||||
6 | # The [...] is [0-9], interpreted as: "any digit" | ||||
7 | echo tempfile[0$((-9))].tmp | ||||
8 | rm tempfile?.tmp |