brew update & brew upgrade desatualizado em uma etapa

#!/bin/bash

brew update


brew outdated
| while read BOTTLE; do brew upgrade $BOTTLE; done