|
| 1 | +#!/bin/bash -eu |
| 2 | + |
| 3 | +## people-present.sh |
| 4 | +## Turn lines from meetbot "People present" meeting summary section into table |
| 5 | +## for published meeting notes. Reads from stdin |
| 6 | + |
| 7 | +DB=$(mktemp) |
| 8 | + |
| 9 | +cat <<EOF > $DB |
| 10 | +| BlueMatt | [Matt Corallo][] | |
| 11 | +| LukeJr | [Luke Dashjr][] | |
| 12 | +| MarcoFalke | [Marco Falke][] | |
| 13 | +| Murch | [Mark Erhardt][] | |
| 14 | +| achow101 | [Andrew Chow][] | |
| 15 | +| aj | [Anthony Towns][] | |
| 16 | +| cfields | [Cory Fields][] | |
| 17 | +| echeveria | Echeveria | |
| 18 | +| fanquake | [Michael Ford][] | |
| 19 | +| gmaxwell | [Gregory Maxwell][] | |
| 20 | +| gwillen | [Glenn Willen][] | |
| 21 | +| instagibbs | [Gregory Sanders][] | |
| 22 | +| jamesob | [James O'Beirne][] | |
| 23 | +| jarthur | [Justin Arthur][] | |
| 24 | +| jcorgan | [Johnathan Corgan][] | |
| 25 | +| jimpo | [Jim Posen][] | |
| 26 | +| jnewbery | [John Newbery][] | |
| 27 | +| jonasschenlli | [Jonas Schnelli][] | |
| 28 | +| jonasschnelli | [Jonas Schnelli][] | |
| 29 | +| jtimon | [Jorge Timón][] | |
| 30 | +| kanzure | [Bryan Bishop][] | |
| 31 | +| ken2812221 | [Chun Kuan Lee][] | |
| 32 | +| lclc | [Lucas Betschart][] | |
| 33 | +| luke-jr | [Luke Dashjr][] | |
| 34 | +| meshcollider | [Samuel Dobson][] | |
| 35 | +| moneyball | [Steve Lee][] | |
| 36 | +| morcos | [Alex Morcos][] | |
| 37 | +| nmnkgl | [Gleb Naumenko][] | |
| 38 | +| phantomcircuit | [Patrick Strateman][] | |
| 39 | +| promag | [Joao Barbosa][] | |
| 40 | +| provoostenator | [Sjors Provoost][] | |
| 41 | +| randolf | [Randolf Richardson][] | |
| 42 | +| roasbeef | [Olaoluwa Osuntokun][] | |
| 43 | +| ryanofsky | [Russell Yanofsky][] | |
| 44 | +| sdaftuar | [Suhas Daftuar][] | |
| 45 | +| sipa | [Pieter Wuille][] | |
| 46 | +| skeees | [Jesse Cohen][] | |
| 47 | +| wumpus | [Wladimir van der Laan][] | |
| 48 | +EOF |
| 49 | + |
| 50 | +echo '| IRC nick | Name/Nym |' |
| 51 | +echo '|-----------------|---------------------------|' |
| 52 | + |
| 53 | +## Example: " BlueMatt (96)" |
| 54 | +cat | sed 's/ (.*//; s/ //g;' | while read line |
| 55 | +do |
| 56 | + case "$line" in |
| 57 | + gribble|lightningbot|bitcoin-git) |
| 58 | + continue |
| 59 | + ;; |
| 60 | + esac |
| 61 | + |
| 62 | + grep "$line" $DB || echo $line |
| 63 | +done |
| 64 | + |
| 65 | +rm $DB |
0 commit comments