Regression in TOUCH

2005-06-23 Thread david
Folks The Touch command seems to have lost the -B option. It was present in version 4.5.3, and is absent in 5.2.1 It is a very useful option, allowing me to set a timestamp that is, for example, ten days old. Is there some other way to do it? Thanks David

Re: perm test and ACLs

2005-06-23 Thread Paul Eggert
Paul Eggert [EMAIL PROTECTED] writes: 2005-06-22 Paul Eggert [EMAIL PROTECTED] * tests/umask-check: New file. Sorry, I forgot to include that file in my email. Here it is: # -*- sh -*- # Disable the current test if umask doesn't work as usual. # Copyright (C) 2005 Free Software

Re: Regression in TOUCH

2005-06-23 Thread Philip Rowlands
On Wed, 22 Jun 2005, david wrote: The Touch command seems to have lost the -B option. It was present in version 4.5.3, and is absent in 5.2.1 It is a very useful option, allowing me to set a timestamp that is, for example, ten days old. Is there some other way to do it? See this thread from

Re: Suggested enhancement to du command - show last modified date.

2005-06-23 Thread Jim Meyering
William Brendling [EMAIL PROTECTED] wrote: The second iteration of my patch to du to show last modified date follows. ... Thank you for the patch. I've applied it, albeit with some difficulty due to changes in leading white space and split lines caused no doubt by your mail client. I've made

exit status of rm

2005-06-23 Thread Eric Blake
POSIX requires that rm have an argument, but also that it exit with 0 status if All of the named directory entries for which rm performed actions equivalent to the rmdir() or unlink() functions were removed. This puts the invocation of rm without arguments in the implementation's realm, where

Re: exit status of rm

2005-06-23 Thread James Youngman
On Thu, Jun 23, 2005 at 08:45:05PM +, Eric Blake wrote: This puts the invocation of rm without arguments in the implementation's realm, where currently, coreutils is not consistent on what it returns: $ rm rm: missing operand Try `rm --help' for more information. $ echo $? # used

Re: exit status of rm

2005-06-23 Thread Jim Meyering
[EMAIL PROTECTED] (James Youngman) wrote: On Thu, Jun 23, 2005 at 08:45:05PM +, Eric Blake wrote: This puts the invocation of rm without arguments in the implementation's realm, where currently, coreutils is not consistent on what it returns: $ rm rm: missing operand Try `rm --help'

Re: Suggested enhancement to du command - show last modified date.

2005-06-23 Thread Paul Eggert
Jim Meyering [EMAIL PROTECTED] writes: Thank you for the patch. I've applied it Yes, it's a nice thing to add. Thanks too. I reviewed the patch and have some more ideas, which I installed as follows. One more thing (which I didn't do yet) is that there's a reasonable amount of code

canon-host.c disagreement (gnulib vs coreutils); zero initializers

2005-06-23 Thread Paul Eggert
I noticed the following disagreement between gnulib and coreutils: --- gnulib/lib/canon-host.c 2005-05-13 23:03:57 -0700 +++ cu/lib/canon-host.c 2005-05-14 00:58:06 -0700 @@ -54,8 +54,9 @@ canon_host (char const *host) #if HAVE_GETADDRINFO { -struct addrinfo hint = { 0 }; +

Re: exit status of rm

2005-06-23 Thread Bob Proulx
Jim Meyering wrote: [EMAIL PROTECTED] (James Youngman) wrote: On Thu, Jun 23, 2005 at 08:45:05PM +, Eric Blake wrote: This puts the invocation of rm without arguments in the implementation's realm, where currently, coreutils is not consistent on what it returns: Without belaboring