You are viewing a single comment's thread. Return to all comments →
read n read -a arr temp=${arr[0]} for n in ${arr[@]:1}; do temp=$(( temp ^ n )); done echo $temp
Seems like cookies are disabled on this browser, please enable them to open this website
Lonely Integer - Bash!
You are viewing a single comment's thread. Return to all comments →