bug-bash
[Top][All Lists]
Advanced

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

Re: "printf -v foo bar" sets $? to 1


From: Chet Ramey
Subject: Re: "printf -v foo bar" sets $? to 1
Date: Mon, 16 Aug 2021 09:45:00 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 8/14/21 7:56 PM, Keith Thompson wrote:

> Bash Version: 5.1
> Patch Level: 4
> Release Status: maint
> 
> Description:
>         The builtin "printf" command with the "-v" option works
>         correctly, but it reports failure by setting $? to 1.

Thanks for the report.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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