4 ms·
This always bugs me: git status | grep deleted: | awk '{ print $NF }' | xargs foo Instead of using both grep and awk just use awk: git status | awk '
by stevekemp 13y ago
This always bugs me:
git status | grep deleted: | awk '{ print $NF }' | xargs foo
Instead of using both grep and awk just use awk:
git status | awk '/deleted:/ {print $NF}' | xargs foo