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


Message #38 received at 23422 <at> debbugs.gnu.org (full text, mbox):

From: Ruediger Meier <sweet_f_a <at> gmx.de>
To: 23422 <at> debbugs.gnu.org
Subject: Re: bug#23422: stat -c %N returns strange results for file names
 including <TAB>
Date: Wed, 4 May 2016 18:58:07 +0200
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 ...




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

Previous Next


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