On 4/7/18 12:52 PM, Martijn Dekker wrote:
> Op 02-04-18 om 20:41 schreef Chet Ramey:
>> Thanks for the report. This clearly falls under this clause
>>
>> "In every other respect, if command_name is not the name of a function, the
>> effect of command (with no options) shall be the same as omitting command."
>>
>> in the Posix description of `command'. It should be a one-line fix.
> 
> Given that text, commands prefixed with 'command' maybe shouldn't appear
> twice in xtrace output either. (They don't in any other shell.)

You're probably right, though I'm less sure about this. It seems like it's
clearer what's going on when the xtrace output includes `command'.

Chet

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

Reply via email to