The attached patch gives warnings about questionable option combinations. For example: $ sort --debug -rb -k1,1n /dev/null ! options `-b' are ignored ! option `-r' only applies to last-resort comparison cheers, Pádraig.