[Top][All Lists]

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

`printf -v foo ""` does not set foo=

From: Mike Frysinger
Subject: `printf -v foo ""` does not set foo=
Date: Mon, 17 Jun 2013 01:27:06 -0400
User-agent: KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; )

simple test code:
        unset foo
        printf -v foo ""
        echo ${foo+set}

that does not display "set".  seems to have been this way since the feature 
was added in bash-3.1.

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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