1#!/bin/bash
2
3# Sort the names in the CLA (discarding the header)
4cat cla-signers | tail -n +2 | sort -u > cla-signers.new
5# Add a new header with fresh timestamp (discarding old file)
6echo Updated $(date) > cla-signers
7# Add sorted names below header
8cat cla-signers.new >> cla-signers
9# Remove temporary file
10rm cla-signers.new
11