From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jun 04 2007 - 19:36:42 CDT

Hi,
  You can use something like:
lsort -unique $redundantlist

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu
 

On Mon, Jun 04, 2007 at 04:47:16PM -0700, lily jin wrote:
> 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
>
>
>
> ____________________________________________________________________________________
> Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
> http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078