Sort message with Tclprocs

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Sort message with Tclprocs

  • Creator
    Topic
  • #53773
    cecile 777
    Participant

      Hello all,

      Before treating messages in HRL format, I must sort them under 3 fields

      For instance, i do this with a Unix script

      sort -k 1.21,1.60 -k 1.79,1.80 -k 1.61,1.78 $1/$2

      I’d like to do that with an inbound Tclprocs

      How to to that with tcl ?

      With lsort ?

      Thanks

    Viewing 0 reply threads
    • Author
      Replies
      • #78898
        Brandon Grudt
        Participant

          The lsort function will work if you have a list that needs to be resequenced.  Can you provide an example?

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.