![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating an array to hold posix thread ids: Only dynamic array works | kmehta | High Level Programming | 4 | 09-21-2008 09:24 PM |
| split and making an array inside another array | dcfargo | Shell Programming and Scripting | 2 | 08-06-2008 11:07 AM |
| need some help..Comparison | bluesilo | Shell Programming and Scripting | 0 | 02-23-2008 04:43 PM |
| create array holding characters from sring then echo array. | rorey_breaker | Shell Programming and Scripting | 5 | 09-28-2007 09:42 AM |
| comparison | cnf | Filesystems, Disks and Memory | 2 | 05-14-2002 02:52 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help with array comparison
I have an array @name with the below contents (index 7 and 8 are names):
1|1|2|2|I|2|0|DUNN|LACY|||||| 2|2|2|2|I|2|0|KOFE|ROGER|||||| 3|3|2|2|A|2|0|KOFOED|ROBERT|||||| 3|4|2|2|A|2|0|KOFOED|ROBERT|||||| 3|5|2|2|A|2|0|KOFOED|ROBERT|||||| 2|7|2|2|I|2|0|WILLIAMSON|JAMES|||||| 3|8|2|2|I|2|0|MUNN|MARION|||||| 4|9|2|2|A|2|0|BLOCK|ROY|||||| I want to remove the duplicates, from the list @name: 1|1|2|2|I|2|0|DUNN|LACY|||||| 2|2|2|2|I|2|0|KOFE|ROGER|||||| 3|3|2|2|A|2|0|KOFOED|ROBERT|||||| 2|7|2|2|I|2|0|WILLIAMSON|JAMES|||||| 3|8|2|2|I|2|0|MUNN|MARION|||||| 4|9|2|2|A|2|0|BLOCK|ROY|||||| I need help with a unique list of names (ignore the other fields). Thanks, - CB |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|