git show <treeish> | awk -f block.awk 

Edit line 2 to change the regex that detects a block