Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Michael Stone
On Tue, Nov 15, 2005 at 03:14:27PM +0100, Jim Meyering wrote: But there *is* a way. It's just that the portable solution doesn't fit on one line: That falls into the "truely hideous" category, imo. :) Mike Stone -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe".

Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Jim Meyering
Michael Stone <[EMAIL PROTECTED]> wrote: ... > My main concern here is that there is no way for someone to use > stat -c "%whatever" file1 file2 > and expect it to work for both syntaxes without reverting to some truely > hideous sed games or somesuch. But there *is* a way. It's just that the por

Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Michael Stone
On Tue, Nov 15, 2005 at 11:42:12AM +0100, Jim Meyering wrote: Unfortunately, no one reported the problem before this. Which IMO suggests that nobody cares for the new behavior, whereas we have a demonstrable dependency on the old behavior. Between debian & fedora & rhel I'd say that there's a f

Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Michael Stone
On Tue, Nov 15, 2005 at 12:27:57PM +0100, Jim Meyering wrote: I do see your point of view, since the `stat' program doesn't feel very new, now. But back when I made the change, it *was* relatively new. Not in debian. I'll have to think about whether I want the debian package to maintain compat

Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Jim Meyering
Michael Stone <[EMAIL PROTECTED]> wrote: > On Tue, Nov 15, 2005 at 11:42:12AM +0100, Jim Meyering wrote: >> With stat, a specified format is no longer automatically newline terminated. >> If you want a newline at the end of your output, append `\n' to the format >> string. > > Hmm. I don't know

Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Michael Stone
On Tue, Nov 15, 2005 at 11:42:12AM +0100, Jim Meyering wrote: With stat, a specified format is no longer automatically newline terminated. If you want a newline at the end of your output, append `\n' to the format string. Hmm. I don't know if I like this change--it really screws with compata

Bug#339136: Changes in stat package output break apt-move

2005-11-15 Thread Jim Meyering
[ For those reading this via bug-coreutils, the original bug report is here: http://bugs.debian.org/339136. ] Thanks for the report. FYI, this change was mentioned in the NEWS for upstream coreutils-5.3.0, 10 months ago. With stat, a specified format is no longer automatically newline termina

Bug#339136: Changes in stat package output break apt-move

2005-11-14 Thread Petr Vandrovec
Package: coreutils Version: 5.93-2 Severity: critical Justification: renders apt-move unusable Hello, in the past 'stat -L -c "%s" / /' produced 4096 4096 while now (since 5.93 update) it produces 40964096 without any explanation why this happened. This breaks at least apt-move and some p