"touch -- MMDDhhmm file" conformance bug (for POSIX.2-1992)

2004-09-06 Thread Paul Eggert
I installed this patch to fix a bug where "touch" didn't conform to POSIX.2-1992. 2004-09-06 Paul Eggert <[EMAIL PROTECTED]> * src/touch.c (main): Fix POSIX-conformance bug: "touch -- MMDDhhmm file" must be treated like "touch MMDDhhmm file" when conforming to pre-2001 P

improved emulation for "sort -y" on Solaris 8 and later

2004-09-06 Thread Paul Eggert
I installed this minor emulation improvement: 2004-09-06 Paul Eggert <[EMAIL PROTECTED]> * src/sort.c (main): Emulate Solaris 8 and 9 "sort -y", so that "sort -y abc" is like "sort abc" whereas "sort -y 100" is like plain "sort". Index: sort.c ==

Re: Bug in mkdir: Misleading Error Message

2004-09-06 Thread Paul Eggert
Dmytro Taranovsky <[EMAIL PROTECTED]> writes: > mkdir: cannot create directory `new/new': No such file or directory Here's another good one: $ mkdir /bin/sh/foo mkdir: cannot create directory `/bin/sh/foo': Not a directory > mkdir should print a more accurate error message, Well, the exist

Re: Possible bug in 'df' v5.2.1 (--portability switch)

2004-09-06 Thread Paul Eggert
Torkel BjÃrnson <[EMAIL PROTECTED]> writes: > $ setenv BLOCK_SIZE human-readable > $ df --portability / > FilesystemSize Used Avail Use% Mounted on > /dev/sda1 177M 111M 57M 66% / > > I think the last output is wrong. Since I request an output > format in compability/P

Re: [PATCH] Makes sort create random order

2004-09-06 Thread Thomas Habets
Once upon a midnight dreary, Paul Eggert pondered, weak and weary: > > Or should a random permutation merge all equal values? > Only if the ordinary sort would merge the equal values (i.e., if the > -u option is specified). I mean merge them, then sort, then randomize, then split them. With no ra

Possible bug in 'df' v5.2.1 (--portability switch)

2004-09-06 Thread Torkel Bjørnson
Hello! I would like to report a bug in the df program in the GNU coreutils package. Here is a proof by example: $ df --version df (coreutils) 5.2.1 $ df --portability / Filesystem 512-blocks Used Available Capacity Mounted on /dev/sda1 361278225408116596 66%

Re: ~ ! a bug..., more like a lack of a feature?

2004-09-06 Thread Alfred M. Szmidt
'ls', by default for root, comes '-A' - which ignores '.' and 'chgrp' should also have a similar '-A' flag available to it. You probobly have some aliases set when you are root, check with the command `alias' if you are using bash.

Re: sort ignoring human readable suffixes

2004-09-06 Thread Paul Eggert
Lucas Nussbaum <[EMAIL PROTECTED]> writes: >> Come to think of it, if -h implied -g instead, you might have a >> simpler implementation (albeit one with rounding errors and slower >> performance). > > This would break with exabytes. Why? -g uses floating point, and 1 EB (10**18) can be represent

Bug in mkdir: Misleading Error Message

2004-09-06 Thread Dmytro Taranovsky
Description: Suppose that the current directory has no file or directory named new and you invoke mkdir new/new The output is the error message mkdir: cannot create directory `new/new': No such file or directory This appears to claim that 'new/new' cannot be created because it does not exist. How

Re: sort ignoring human readable suffixes

2004-09-06 Thread Lucas Nussbaum
On Sun, Sep 05, 2004 at 04:49:38PM -0700, Paul Eggert <[EMAIL PROTECTED]> wrote: > Lucas Nussbaum <[EMAIL PROTECTED]> writes: > > > So 12345K < 1M, but I think it is acceptable if > > properly documented (no software will never output 12345K). > > Unfortunately some software does output "12345K".

od fixes for POSIX and FreeBSD compatibility

2004-09-06 Thread Paul Eggert
While looking at coreutils option processing I noticed that "od" had a FIXME and a few other compatibility problems with respect to POSIX and FreeBSD. I installed the following patch to fix the problems I found. 2004-09-06 Paul Eggert <[EMAIL PROTECTED]> * NEWS: Describe the following.