Re: FYI: savannah cvs repository is currently not tracking git

2007-03-31 Thread Andreas Schwab
"James Youngman" <[EMAIL PROTECTED]> writes:

> Are there instructions somewhere for how to follow coreutils using git?

There are some resources on the git homepage .

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: FYI: savannah cvs repository is currently not tracking git

2007-03-31 Thread Jim Meyering
Andreas Schwab <[EMAIL PROTECTED]> wrote:
> "James Youngman" <[EMAIL PROTECTED]> writes:
>
>> Are there instructions somewhere for how to follow coreutils using git?
>
> There are some resources on the git homepage .

Hi James,

You can view a summary of change sets here:

  http://git.sv.gnu.org/gitweb/?p=coreutils.git

gnulib is similar:

  http://git.sv.gnu.org/gitweb/?p=gnulib.git

On that page, it lists some URLs, which you can "clone" to get a local
copy (avoid the http:// one if you can, because that protocol is less
efficient, and some older git clients malfunction with them):

Most people want read access, so use this command:

git clone git://git.sv.gnu.org/coreutils.git

That creates a directory named "coreutils" in your working directory.
Or, you can choose the destination dir name:

git clone git://git.sv.gnu.org/coreutils.git  SOME_OTHER_NAME

Then, "cd coreutils" and run "git pull" to download the latest changes
from the net, and merge them into your local copy.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


tail +3 stopped working

2007-03-31 Thread Marvin Simkin
Sorry if this is a dup bug, I don't know how to check your list.

BEFORE (correct)
-
$ echo "1,2,3,4,5" | tr ',' "\012" | tail +3
3
4
5
$ tail --version
tail (coreutils) 4.5.3
...
$ uname -a
Linux ... 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 
GNU/Linux

AFTER (bug)
-
$ echo "1,2,3,4,5" | tr ',' "\012" | tail +3
tail: cannot open `+3' for reading: No such file or directory
$ tail --version
tail (GNU coreutils) 5.97
...
$ uname -a
Linux ... 2.6.19-1.2911.6.5.fc6 #1 SMP Sun Mar 4 15:47:41 EST 2007 i686 i686 
i386 GNU/Linux


-
Marvin Simkin
Planetary Geology Group
School of Earth and Space Exploration
Arizona State University
http://simkin.asu.edu/



___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: tail +3 stopped working

2007-03-31 Thread Evan Hunt

It's "tail -n +3" now.

Evan Hunt


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


[bug #19475] date produces incorrect output with +/-1 Month when the date is the 31st

2007-03-31 Thread anonymous

URL:
  

 Summary: date produces incorrect output with +/-1 Month when
the date is the 31st
 Project: GNU Core Utilities
Submitted by: None
Submitted on: Saturday 03/31/2007 at 22:29 UTC
Category: None
Severity: 3 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

# date --date='31 March 2006 +1 month'
Mon May  1 00:00:00 PDT 2006

# date --date='31 March 2006 -1 month'
Fri Mar  3 00:00:00 PST 2006






___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


[bug #19475] date produces incorrect output with +/-1 Month when the date is the 31st

2007-03-31 Thread Eric Blake

Update of bug #19475 (project coreutils):

  Status:None => Duplicate  
 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

Not a bug; but it is a duplicate of bug #18921.  The manual specifically
recommends the following (info coreutils relative):

   The fuzz in units can cause problems with relative items.  For
example, `2003-07-31 -1 month' might evaluate to 2003-07-01, because
2003-06-31 is an invalid date.  To determine the previous month more
reliably, you can ask for the month before the 15th of the current
month.  For example:

 $ date -R
 Thu, 31 Jul 2003 13:02:39 -0700
 $ date --date='-1 month' +'Last month was %B?'
 Last month was July?
 $ date --date="$(date +%Y-%m-15) -1 month" +'Last month was %B!'
 Last month was June!


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/



___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: tail +3 stopped working

2007-03-31 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Marvin Simkin on 3/30/2007 4:22 PM:
> $ tail --version
> tail (GNU coreutils) 5.97

You are still due for an upgrade.  The latest stable version is 6.9.

At any rate, this is not a bug, but a POSIX conformance issue; and it was
documented in the NEWS for 5.90:

  A few usages still have behavior that depends on which POSIX standard is
  being conformed to, and portable applications should beware these
  problematic usages.  These include:

Problematic   Standard-conforming replacement, depending on
   usagewhether you prefer the behavior of:
  POSIX 1003.2-1992POSIX 1003.1-2001
tail +4   tail -n +4   tail ./+4

and it is also mentioned in the manual (info coreutils tail), along with
the _POSIX2_VERSION environment variable which you can set to choose which
version of POSIX you want to obey.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGDvHX84KuGfSFAYARAkHsAKCfCLIapbbF2FNAkQQj+vfJjhCUMgCgmamm
yxmwVs803cErQsI36xaDL+8=
=9zyX
-END PGP SIGNATURE-


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils