Snapshot of homebrew state

for item in $(brew list)
do
file=$(brew info $item \
| grep -E '/usr/local/Cellar.*\)( \*)?$' \
| awk {'print $1'})
echo $item ${file#/usr/local/Cellar/$item/}
done