DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+9 =
Submit