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