VMD-L Mailing List
From: Giovanni Bellesia (gbellesia_at_chem.ucsb.edu)
Date: Mon Jun 04 2007 - 19:39:37 CDT
- Next message: JC Gumbart: "Re: list in TCL"
- Previous message: John Stone: "Re: list in TCL"
- In reply to: lily jin: "list in TCL"
- Next in thread: JC Gumbart: "Re: list in TCL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
set newlistname [lsort -unique $listname]
should work
Giovanni
> If I have a list with redoudant elelments, how can I remove those
> redundant?
> for example a list 1 1 2 3 3 3 3 3
> how to get 1 2 3
>
> Thanks!
>
> *Lily*
>
> ------------------------------------------------------------------------
> Be a better Heartthrob. Get better relationship answers
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from
> someone who knows.
> Yahoo! Answers - Check it out.
- Next message: JC Gumbart: "Re: list in TCL"
- Previous message: John Stone: "Re: list in TCL"
- In reply to: lily jin: "list in TCL"
- Next in thread: JC Gumbart: "Re: list in TCL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]