Getting Brew to Update Outdated

I like Brew, It has packages that Macports does not.  However the command line is missing a great option from Macports, port update outdated.

Here is a like bash to do the same

brew outdated | cut -f 1 -d " " > /tmp/update.txt ; while read upd ; do brew install $upd ; done < /tmp/update.txt