Re: Unsubstituted variables in "jobs" output

2008-06-30 Thread Hai Zaar
On Mon, Jun 30, 2008 at 9:23 PM, Chet Ramey <[EMAIL PROTECTED]> wrote: >> Consider the following: >> $ AA=aa; BB=bb; (sleep 10; echo $AA $BB) & jobs >> [1] 6626 >> [1]+ Running ( sleep 10; echo $AA $BB ) & >> If there any way tell jobs command to output AA and BB substituted with

Re: Unsubstituted variables in "jobs" output

2008-06-30 Thread Chet Ramey
> Consider the following: > $ AA=aa; BB=bb; (sleep 10; echo $AA $BB) & jobs > [1] 6626 > [1]+ Running ( sleep 10; echo $AA $BB ) & > If there any way tell jobs command to output AA and BB substituted with > their values? The variables are expanded in the subshell, not in the pare