Created
February 14, 2017 10:00
-
-
Save vvenv/0e11d36849db3fbf88fa64b63e121d5f to your computer and use it in GitHub Desktop.
Generate an AUTHORS file based on the output of git shortlog.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Generate an AUTHORS file based on the output of git shortlog. It uses ABC | |
# order, strips out leading spaces and numbers, then filters out specific | |
# authors. | |
git shortlog -se \ | |
| perl -spe 's/^\s+\d+\s+//' \ | |
| sed -e '/^CommitSyncScript.*$/d' \ | |
> AUTHORS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment