bug-bash
[Top][All Lists]
Advanced

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

Re: printf builtin's %q format specifier -- Tilde not escaped?


From: Chet Ramey
Subject: Re: printf builtin's %q format specifier -- Tilde not escaped?
Date: Tue, 07 Aug 2012 15:03:38 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 8/7/12 9:37 AM, Jens Stimpfle wrote:
> Bash's printf builtin has a %q format specifier, which, according to the
> documentation, "causes printf to output the corresponding argument in a
> format that can be reused as shell input".

http://lists.gnu.org/archive/html/bug-bash/2012-02/msg00067.html

The multi-part fix is available in the devel branch of the bash git tree
on savannah.

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





reply via email to

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