GNU bug report logs - #23422
stat -c %N returns strange results for file names including <TAB>

Previous Next

Package: coreutils;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Mon, 2 May 2016 09:29:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Ruediger Meier <sweet_f_a <at> gmx.de>
Cc: 23422 <at> debbugs.gnu.org
Subject: bug#23422: stat -c %N returns strange results for file names including <TAB>
Date: Wed, 04 May 2016 23:59:04 +0200
Ruediger Meier <sweet_f_a <at> gmx.de> writes:

> On Wednesday 04 May 2016, Andreas Schwab wrote:
>> Ruediger Meier <sweet_f_a <at> gmx.de> 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 ...

See above.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 8 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.