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: Michael Albinus
Subject: bug#23422: stat -c %N returns strange results for file names including <TAB>
Date: Mon, 02 May 2016 18:27:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Pádraig Brady <address@hidden> writes:

>> Thanks for the hint with QUOTING_STYLE. However, it doesn't work for me:
>>
>> # env QUOTING_STYLE=escape /usr/bin/stat -c %N /tmp/foo*
>> '/tmp/foo'$'\t''bar'
>
> Right, stat currently hard codes the "shell" style.
> It probably makes sense to have this configurable.
> I'll do that for the next release.

Thanks! In general I don't care whether you implement it via environment
variable or command parameter. The environment variable has the
advantage, that the call of stat would be backwards compatible.

> thanks,
> Pádraig.

Best regards, Michael.





reply via email to

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