I have a command which upon execution return me set of numbers which I want to store in a bash array.
vihaan@trojan:~/trash$ xdotool search brain
Defaulting to search window name, class, and classname
52428804
50331651
62914564
65011896
48234499
How do I store these values in an array ?