This is awesome! The length of the whitespace around "modified:" varies by version of git. Here's a more precise and reliable cut:
git status | grep spec | grep "modified:" | cut -d: -f2-
This is awesome! The length of the whitespace around "modified:" varies by version of git. Here's a more precise and reliable cut: