[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23422: stat -c %N returns strange results for file names including <
From: |
Bernhard Voelker |
Subject: |
bug#23422: stat -c %N returns strange results for file names including <TAB> |
Date: |
Thu, 3 Nov 2016 23:29:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/03/2016 05:04 PM, Pádraig Brady wrote:
> Subject: [PATCH] stat: make --format=%N honor the QUOTING_STYLE env var
>
> * doc/coreutils.texi (stat invocation): Describe the
> QUOTING_STYLE values now supported.
> * src/stat.c (getenv_quoting_style): A new function called
> from main, that sets the default quoting style for quotearg.
> (main): Call getenv_quoting_style() when %N specified.
> * tests/misc/stat-fmt.sh: Add a test case.
> * NEWS: Mention the improvement.
> Fixes http://bugs.gnu.org/23422
The patch looks good to me, but the above URL seems to have
temporary redirection problems:
$ wget -S -O - http://bugs.gnu.org/23422 2>&1 | sed -n '/Location/{p;q}'
Location: http://debbugs.gnu.org23422
Have a nice day,
Berny