blob: 8e47ca111f082dde722b121268ea511643f80eef [file] [log] [blame]
>tempfile0.tmp
>tempfile1.tmp
>tempfile9.tmp
# The [...] is interpreted as: "any of the chars 0, -, and 9"
echo tempfile[0"$((-9))"].tmp
# The [...] is [0-9], interpreted as: "any digit"
echo tempfile[0$((-9))].tmp
rm tempfile?.tmp