Re: [sr #111047] Value of BASHPID changes when inside a here-document

2024-04-05 Thread Chet Ramey
On 4/4/24 9:05 PM, Lawrence Velázquez wrote: Reproducing my comment [1] for the list: On Apr 4, 2024, at 5:57 PM, Richard Waite wrote: Does variable expansion for here-documents occur in a subshell? Sometimes. When a command requires forking (roughly speaking), its redirections (not just

Re: [sr #111047] Value of BASHPID changes when inside a here-document

2024-04-04 Thread Lawrence Velázquez
Reproducing my comment [1] for the list: > On Apr 4, 2024, at 5:57 PM, Richard Waite wrote: > > Does variable expansion for here-documents occur in a subshell? Sometimes. When a command requires forking (roughly speaking), its redirections (not just here-documents) are processed after the for

[sr #111047] Value of BASHPID changes when inside a here-document

2024-04-04 Thread Richard Waite
URL: Summary: Value of BASHPID changes when inside a here-document Group: The GNU Bourne-Again SHell Submitter: rmwaite Submitted: Thu 04 Apr 2024 09:57:30 PM UTC Category