[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
documentation string for caller builtin
From: |
Ernest Adrogué |
Subject: |
documentation string for caller builtin |
Date: |
Sat, 2 Jul 2022 10:09:29 +0000 |
Hello,
The documentation string for the 'caller' builtin command in bash.pot
appears to be incomplete, in particular the last 4 lines from the
snippet below which were present in previous versions are now missing:
> caller: caller [expr]
> Return the context of the current subroutine call.
>
> Without EXPR, returns "$line $filename". With EXPR, returns
> "$line $subroutine $filename"; this extra information can be used to
> provide a stack trace.
>
> The value of EXPR indicates how many call frames to go back before the
> current one; the top frame is frame 0.
>
> Exit Status:
> Returns 0 unless the shell is not executing a shell function or EXPR
> is invalid.
Is this a bug?
Cheers.
- documentation string for caller builtin,
Ernest Adrogué <=