2023-11-16 23:19:36 -05:00

9 lines
232 B
Plaintext
Executable File

>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