mirror of
https://git.busybox.net/busybox
synced 2025-05-10 12:43:48 +02:00
11 lines
180 B
Text
Executable file
11 lines
180 B
Text
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*
|