Hi
I have 2 arrays (or files) and I need to find those names that are i BOTH arrays/files
ex.
array1 contains: name1 name2
array2 contains: name2 name3
The output I need is "name2"
I tryede to find a command like diff, to get the things that are not different - but I can't find an option that will give me that.
Thanks
Larshg
I have 2 arrays (or files) and I need to find those names that are i BOTH arrays/files
ex.
array1 contains: name1 name2
array2 contains: name2 name3
The output I need is "name2"
I tryede to find a command like diff, to get the things that are not different - but I can't find an option that will give me that.
Thanks
Larshg