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

comments powered by Disqus
TitleTime
Ryan Garner - Archie Shar...3 minutes
France vs Guinea Live Str...9 minutes
sdbsdbsdbdsbdbs10 minutes
Live streaming France - G...11 minutes
Watch Errani - Zheng Live...15 minutes
Live streaming Errani v Z...21 minutes
Living Wellness Day Spa35 minutes

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