File: update-authors.sh

package info (click to toggle)
tree-sitter-bash 0.25.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,520 kB
  • sloc: ansic: 352,182; javascript: 1,083; sh: 747; makefile: 101; python: 92; lisp: 47; cpp: 14
file content (9 lines) | stat: -rwxr-xr-x 183 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh

git log --reverse --format='%aN <%aE>' | perl -wnE '
BEGIN {
  say "# Authors sorted by whether or not they\x27re me";
}

print $seen{$_} = $_ unless $seen{$_}
' > AUTHORS