GNU bug report logs - #7214
sort --debug maps large old-style field number to 0 in diagnostic

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Thu, 14 Oct 2010 10:03:02 UTC

Severity: normal

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: 7214 <at> debbugs.gnu.org
Subject: bug#7214: sort --debug maps large old-style field number to 0 in diagnostic
Date: Thu, 14 Oct 2010 12:06:02 +0200
I noticed that using a field number of SIZE_MAX or larger makes --debug
give an invalid diagnostic:

  $ :|_POSIX2_VERSION=199209 src/sort --debug +$(echo 2^64-1|bc).4 -1.2
  src/sort: using simple byte comparison
  src/sort: obsolescent key `+0 -2' used; consider `-k 1,2' instead
  src/sort: leading blanks are significant in key 1; consider also specifying `b'




This bug report was last modified 6 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.