bug-coreutils
[Top][All Lists]
Advanced

[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: Pádraig Brady
Subject: bug#23422: stat -c %N returns strange results for file names including <TAB>
Date: Thu, 5 May 2016 09:23:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 04/05/16 22:59, Andreas Schwab wrote:
Ruediger Meier <address@hidden> writes:

On Wednesday 04 May 2016, Andreas Schwab wrote:
Ruediger Meier <address@hidden> writes:
Anyways the incompatible change is IMO not acceptable. %N is
probably most likely used in scripts which rely on the known style.
                                                             ^^^^^^^^^^^

The style was never documented (and still isn't).

What does this mean? Using %N wasn't and still isn't recommended because
behavior is undefined? Come on ...

Both points are valid.
%N had a defacto style on Linux until now, but it was not documented.
%N is not a standard style as it produces unquoted output on BSD for example.

For the next version of coreutils we'll document the default format
and allow selection of the quoting style used.

thanks,
Pádraig.







reply via email to

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