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.