sort: adjust the leading blanks --debug warning
authorPádraig Brady <P@draigBrady.com>
Sat, 22 May 2010 13:19:50 +0000 (14:19 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 24 May 2010 11:12:24 +0000 (12:12 +0100)
commit63761c027c6facf80d78834f9f1ee02139b116fe
tree4e87127d5af34a356a4807b4d63e55cbdf5f6dce
parentfdff32e1834f88363854cefaba10150bff066607
sort: adjust the leading blanks --debug warning

* src/sort.c (key_warnings): Always warn about significant leading
blanks when character offsets are specified, unless they key is
possibly a line offset, i.e. of the form -k1.x,1.y.  Also suppress
this warning if the user could be sorting right aligned indexes.
src/sort.c
tests/misc/sort-debug-warn