On Fri, 20 Dec 2024 08:09:40 -0500, Greg Wooledge wrote:
> Assuming you meant -d not -c:
Good eye.

> Why did you expect them to be the same?

  A surprisingly hard question. Um, well, this report was from something I
noticed a few months ago.

  As I recall, `help -d '('` returns information about the string '((',
rather than anything about subshells, so it seemed like a trailing
glob-asterisk was assumed.

  Yeah, looking further, it makes sense that it would return on a positive
match. That's how most programs seem to be.

~ $ help -d ti
time - Report time consumed by pipeline's execution.
times - Display process times.
~ $ help -d time
time - Report time consumed by pipeline's execution.

  Wiley

Reply via email to