I'm reading Adam Tornhill's book Software Design X-Rays and he states on page 17 that this command can be used to get a log of a git repo's change frequency:
git log --format=format: --name-only | egrep -v '^$'| sort \ | uniq -c | sort -r | head -5
However, I get the error Error: "cannot read: ' ': No such file or directory when I execute that command.
He says the recipe comes from the Git Version Control Cookbook but I can't find a reference to it anywhere and don't know Bash or git that well.
|so that no explicit line continuation characters were needed.