I have an array
array=(src/ucode/pkgs/get_ch.c qa/tests/ucode/chktest.pl src/ucode/pkgs/get_ch.c src/profile/settings.txt src/ucode/pkgs/main_pf.c src/ucode/pkgs/get_ch.c src/ucode/pkgs/main_ch.c src/ucode/pkgs/main_pf.c)
I need to get unique files from that array
src/ucode/pkgs/get_ch.c qa/tests/ucode/chktest.pl src/profile/settings.txt src/ucode/pkgs/main_pf.c src/ucode/pkgs/main_ch.c
Basically I need to delete duplicate strings from the array