Re: Bug: Subshell won't continue after .-sourcing a file

2022-12-21 Thread Oğuz
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" && ${THIS_SH} '"$sub3"

Bug: Subshell won't continue after .-sourcing a file

2022-12-21 Thread Dan Church
Hi! I have definitely found a bug in bash. I have a git commit that adds a test for this already: https://codeberg.org/h3xx/bash/commit/e573113317895072fd5c4641bf6d196875f5cc2d After fixing the issue, I'd be glad if you would include my git commit as a way of crediting me with the

Re: documentation for ${@: -1} is unclear

2022-12-21 Thread Chet Ramey
On 12/20/22 3:40 PM, Emanuele Torre wrote: The bash manual says: Thanks for the report. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/