depending on actual purpose instead bs demo code , there are serval approaches to code running code
On Wed, Nov 13, 2024, 11:13 PM Yuri <y...@rawbw.com> wrote: > On 11/13/24 14:02, Greg Wooledge wrote: > > The commands within a pipeline are executed in subshells (child > > processes), so all variable changes are discarded when the subshell > exits. > > > This sounds like an implementation detail that should be invisible that > affects how the 'source' feature works. > This makes it a very confusing from the user's perspective. > > > > > Yuri > > > >