#!/bin/bash
echo "# In cshtml but not in Js"
comm -2 -3 <(ag -G '\.cshtml$' --nofilename -o --nonumbers 'agencyGlobal\.\w+' | sort | uniq ) <(ag -G '\.js$' --nofilename -o --nonumbers 'agencyGlobal\.\w+'| sort | uniq)

echo ""
echo "# In Js but not in Cshtml"
comm -2 -3 <(ag -G '\.js$' --nofilename -o --nonumbers 'agencyGlobal\.\w+' | sort | uniq ) <(ag -G '\.cshtml$' --nofilename -o --nonumbers 'agencyGlobal\.\w+'| sort | uniq)
