On 7/2/22 6:09 AM, Ernest Adrogué wrote: > 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:
Not so. #: builtins.c:369 msgid "" "Return the context of the current subroutine call.\n" " \n" " Without EXPR, returns \"$line $filename\". With EXPR, returns\n" " \"$line $subroutine $filename\"; this extra information can be used to\n" " provide a stack trace.\n" " \n" " The value of EXPR indicates how many call frames to go back before the\n" " current one; the top frame is frame 0.\n" " \n" " Exit Status:\n" " Returns 0 unless the shell is not executing a shell function or EXPR\n" " is invalid." msgstr "" The other one is present if the caller builtin is compiled as a loadable builtin, which it is not in the distributed version of bash. I suppose I could make the two identical, but the loadable builtin version is never used, so it doesn't seem like a priority. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/