sort an array unique.



Hello All,
Is there any command to sort an array uniquelly,something similar to
"sort -u" in unix.

With Rgds,
Raj


.



Relevant Pages

  • Re: Read file line-by- line
    ... Unix is very much text ... The exit status is 0 unless the end-of-file was ... But you rarely need to use that command. ...
    (comp.unix.shell)
  • Re: Read file line-by- line
    ... Unix is very much text ... The exit status is 0 unless the end-of-file was ... But you rarely need to use that command. ...
    (comp.unix.shell)
  • Re: Sorting dir output
    ... How could I exec a 'dir' command on a dos system and put the output in ... an array, sort by date and the files that are older than 3 days be moved ...
    (perl.beginners)
  • Re: Is argv array modifiable ?
    ... This is unfortunate because using the UNIX ps command you can see the arguments, and the client is security concious. ... To each element of the array I allocated memory and copied the string, ... I then went through the original array an null terminated each string pointed to by argv with the exception of argv. ...
    (comp.lang.c)
  • Sorting dir output
    ... How could I exec a 'dir' command on a dos system and put the output in ... an array, sort by date and the files that are older than 3 days be moved ...
    (perl.beginners)