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

Edit line 2 to change the regex that detects a block