On 12/21/22 11:44 PM, Oğuz wrote:
22 Aralık 2022 Perşembe tarihinde Dan Church yazdı:
Repro:
sub1=$(mktemp)
sub2=$(mktemp)
sub3=$(mktemp)
echo '( echo "1st script executing" ; . '"$sub2"' ; echo "1st script
still executing" )' >"$sub1"
echo 'echo "2nd script starting" &&
Awesome Chet!
Confirmed fixed by your patch. Do you think you'll include my test for
the bug?
Here is an updated script that uses proper quoting everywhere:
sub1=$(mktemp)
sub2=$(mktemp)
sub3=$(mktemp)
echo "( echo '1st script executing' ; . ${sub2@Q} ; echo '
On 12/22/22 12:37 PM, Dan Church wrote:
Awesome Chet!
Confirmed fixed by your patch. Do you think you'll include my test for the bug?
Thanks for the test; it was very useful for testing behavior.
I'm going to incorporate a version of yours/Oguz's test into an existing
test script I have. It a