sed -e s/\ /^/g|bc