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
> 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