| Emily Shaffer | 01eb0bf | 2018-04-09 10:31:02 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |||||
| 3 | # Sort the names in the CLA (discarding the header) | ||||
| 4 | cat cla-signers | tail -n +2 | sort -u > cla-signers.new | ||||
| 5 | # Add a new header with fresh timestamp (discarding old file) | ||||
| 6 | echo Updated $(date) > cla-signers | ||||
| 7 | # Add sorted names below header | ||||
| 8 | cat cla-signers.new >> cla-signers | ||||
| 9 | # Remove temporary file | ||||
| 10 | rm cla-signers.new | ||||