mirror of
https://github.com/sheumann/hush.git
synced 2024-11-18 17:10:36 +00:00
f451b2cfe0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
12 lines
180 B
Plaintext
Executable File
12 lines
180 B
Plaintext
Executable File
x="tmp11:tmp22"
|
|
|
|
# Bug was incorrectly expanding variables in >redir
|
|
echo "${x%:*}" >"${x%:*}"
|
|
echo tmp1*
|
|
rm tmp1*
|
|
|
|
# Also try unquoted
|
|
echo "${x%:*}" >${x%:*}
|
|
echo tmp1*
|
|
rm tmp1*
|