Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

compare two arrays

echo ${Array1[@]} ${Array2[@]} | tr ' ' '
' | sort | uniq -u
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #compare #arrays
ADD COMMENT
Topic
Name
3+1 =