GNU bug report logs - #6176
[PATCH 1/2] sort: add a --debug option to highlight key extents

Previous Next

Package: coreutils;

Reported by: Pádraig Brady <P <at> draigBrady.com>

Date: Tue, 11 May 2010 22:59:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 6176 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: 6176 <at> debbugs.gnu.org
Subject: Re: bug#6176: [PATCH 2/2] sort: --debug: output data independent
	key	warnings
Date: Fri, 14 May 2010 14:10:19 +0100
[Message part 1 (text/plain, inline)]
Latest version of the patch attached with new warnings and info.
Example output...

$ sort --debug -rb -k2n +2 -1b /dev/null
sort: using `en_US.utf8' sorting rules
sort: obsolescent key formats used.  Consider using `-k'
sort: key 1 is numeric and spans multiple fields
sort: key 2 has zero width and will be ignored
sort: leading blanks are significant in key 2.  Consider also specifying `b'
sort: option `-b' is ignored
sort: option `-r' only applies to last-resort comparison

$ LANG=en_USA sort --debug -srb -k1,1n /dev/null
sort: using simple byte comparison
sort: options `-br' are ignored

I'll commit tonight sometime I think.

cheers,
Pádraig.
[0001-sort-debug-output-data-independent-key-warnings.patch (text/x-patch, attachment)]

This bug report was last modified 15 years and 5 days ago.

Previous Next


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