bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "builtin jobs" does not output to stdout.


From: Oğuz İsmail Uysal
Subject: Re: "builtin jobs" does not output to stdout.
Date: Mon, 13 Feb 2023 16:00:51 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/13/23 2:43 PM, Koichi Murase wrote:
I guess just the support for ksh's ${ list; } [1] would make everything simple and clear. One can simply call ${ jobs; }, ${ trap -p; }, etc. without thinking about subshells.
I don't see what difference that'd make. A subshell inherits its parent's job list, and `$(trap ...)' expands to what `trap ...' would output if it were run in the parent shell; these are well specified in the standard.
I think `builtin' should be fixed and the rest left alone.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]