while IFS= read -r line ; do
    let var+=line
done < <(some command returning multiple lines)
echo "$var"

comments powered by Disqus
TitleTime
Kimberly Birrell v Emma N...2 seconds
Stream online Kessler vs ...2 minutes
Watch stream Anna Blinkov...3 minutes
Blinkova vs Andreeva Live...4 minutes
Kessler vs Putintseva Liv...5 minutes
Azarenka - Joint Live Str...9 minutes
Watch Kalinskaya vs Krueg...10 minutes

© Paste4BTC 2014 - Earn bitcoins by pasting! | My pastes | Popular pastes | New pastes | Payments | FAQ | Terms of Service