bug#14189: ls -d bug ??

2013-04-12 Thread Bob Proulx
Bob Proulx wrote: Option 2 with much more description: `-d' `--directory' Do not list the contents of directories. List only the name. Without this option any non-option command-line arguments that are directories are treated specially and instead of the name the

bug#14190: cat command bug

2013-04-12 Thread hockseng leow
Hello, Ctrl-c is behaving like Ctrl-d. When redirecting from standard-in to an existing file, Ctrl-c empties out the old file contents. In the past, Ctrl-c just aborts cat and leave the existing file unchanged. It happens in Fedora 17. Please fix. Thanks. -- Leow Hock Seng Tel:64463211

bug#14189: ls -d bug ??

2013-04-12 Thread Bernhard Voelker
On 04/12/2013 08:06 AM, Bob Proulx wrote: Some local wordsmithing turned out the following as a better improvement. It lists what it does in the positive first. And removes the negative which was seen as being too confusing. `-d' `--directory' List only the name of directories,

bug#14189: ls -d bug ??

2013-04-12 Thread Andreas Schwab
Eric Blake ebl...@redhat.com writes: bash-specific: $ (shopt -s nullglob; ls -d */ .[!.]/ .??*/) $ (shopt -s dotglob; ls -d */) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely

bug#13530: head: memory exhausted when printing all from stdin but last P/E bytes

2013-04-12 Thread Pádraig Brady
On 01/23/2013 12:34 PM, Pádraig Brady wrote: On 01/23/2013 02:32 AM, Lei Zhang wrote: Hi All, We found a bug in the `head' program of coreutils 8.20: Invoking `head -c -P' or `head -c -E' will cause memory exhaustion. However, smaller units (e.g., b, K, M) work fine; bigger units (e.g., Z,

bug#13530: head: memory exhausted when printing all from stdin but last P/E bytes

2013-04-12 Thread Jim Meyering
Pádraig Brady wrote: ... I expect to push soon, the attached more complete fix to realloc the array. Thanks! That change looks fine and passed tests here, too.

bug#13530: head: memory exhausted when printing all from stdin but last P/E bytes

2013-04-12 Thread Bernhard Voelker
On 04/12/2013 09:06 PM, Jim Meyering wrote: Pádraig Brady wrote: ... I expect to push soon, the attached more complete fix to realloc the array. Thanks! That change looks fine and passed tests here, too. +1 Have a nice day, Berny

bug#14024: Test failure in coreutils 8.13

2013-04-12 Thread Ellis N. Thomas
Pádraig, Following your points below about groups, I checked the owner/groups of the various directories where I variously ran and repeated the coreutils tests and did sequences for you like: echo test a /usr/local/bin/install -Cv -m0644 a b /usr/local/bin/stat a b

bug#14024: Test failure in coreutils 8.13

2013-04-12 Thread Pádraig Brady
On 04/12/2013 10:30 PM, Ellis N. Thomas wrote: On 12 Apr 2013, at 02:37, Pádraig Brady wrote: Great thanks. That shows that the gid of the files is 80, which I presume is separate to your gid. That can happen if you're in a dir hierarchy that's g+s to a group other than your own. Hmm I