Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 07bcd6ba15c75b3b1ff17623d089b1c867d479a557b783c9305bc72da5eb9111
Ticket: ff98a6d77cfc7f43cb2dfba6b09285c4e77df638
bad indices returned by lsort -indices
User & Date: anonymous on 2018-02-22 16:01:36
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Hi, It seems that the command lsort -indices -dictionary return is BAD for this configuration:
    
    % info tclversion
    8.6
    % lsort -indices  -dictionary {c a b}
    1 2 0
    
    I was expecting : 2 0 1
    
    Other combinations are correct 
    
    % lsort -indices  -dictionary {a b c}
    0 1 2
    % lsort -indices  -dictionary {a b}
    0 1
    % lsort -indices  -dictionary {b a c}
    1 0 2
    
    % uname -a
    Linux <machineName> 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    % more /etc/redhat-release
    CentOS release 5.5 (Final)
    
    
    Thanks to have a look
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "97d3c113428539e67fc0c87fcc1e249f611c0287"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "17. Commands I-L"
  15. title changed to: "bad indices returned by lsort -indices"
  16. type changed to: "Bug"