Faster and more legible `brew doctor`
Faster and more legible `brew doctor`

Please check for regressions. I was careful, but there was a lot of stuff.

Closes Homebrew/homebrew#9409.
reelsense/brew,muellermartin/dist,aw1621107/brew,hanxue/linuxbrew,rwhogg/brew,mistydemeo/homebrew,gregory-nisbet/brew,claui/brew,claui/brew,Homebrew/brew,gordonmcshane/homebrew,claui/brew,gregory-nisbet/brew,ilovezfs/brew,DomT4/brew,maxim-belkin/brew,sjackman/homebrew,vitorgalvao/brew,EricFromCanada/brew,pseudocody/brew,aw1621107/brew,mistydemeo/homebrew,alyssais/brew,AnastasiaSulyagina/brew,MikeMcQuaid/brew,nandub/brew,zmwangx/brew,jmsundar/brew,amar-laksh/brew_sudo,MikeMcQuaid/brew,mgrimes/brew,gordonmcshane/homebrew,JCount/brew,staticfloat/brew,mahori/brew,mahori/brew,toonetown/homebrew,mistydemeo/homebrew,gordonmcshane/homebrew,mahori/brew,AnastasiaSulyagina/brew,EricFromCanada/brew,maxim-belkin/brew,tonyg/homebrew,Linuxbrew/brew,palxex/brew,rwhogg/brew,konqui/brew,zmwangx/brew,claui/brew,Linuxbrew/brew,DomT4/brew,palxex/brew,reitermarkus/brew,ilovezfs/brew,mgrimes/brew,EricFromCanada/brew,bfontaine/brew,maxim-belkin/brew,vitorgalvao/brew,jmsundar/brew,AnastasiaSulyagina/brew,vitorgalvao/brew,pseudocody/brew,hanxue/linuxbrew,nandub/brew,Homebrew/brew,konqui/brew,reitermarkus/brew,mahori/brew,toonetown/homebrew,konqui/brew,Linuxbrew/brew,zmwangx/brew,reelsense/brew,amar-laksh/brew_sudo,MikeMcQuaid/brew,toonetown/homebrew,aw1621107/brew,vitorgalvao/brew,palxex/brew,tonyg/homebrew,JCount/brew,alyssais/brew,muellermartin/dist,alyssais/brew,JCount/brew,reitermarkus/brew,Linuxbrew/brew,EricFromCanada/brew,hanxue/linuxbrew,MikeMcQuaid/brew,reitermarkus/brew,Homebrew/brew,gregory-nisbet/brew,Homebrew/brew,staticfloat/brew,JCount/brew,rwhogg/brew,reelsense/brew,ilovezfs/brew,sjackman/homebrew,bfontaine/brew,bfontaine/brew,mgrimes/brew,DomT4/brew,tonyg/homebrew,sjackman/homebrew,jmsundar/brew,nandub/brew,konqui/brew,sjackman/homebrew,amar-laksh/brew_sudo,pseudocody/brew,DomT4/brew,nandub/brew,staticfloat/brew,muellermartin/dist