manifesto-gen - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
manifesto-gen (248B) | |
--- | |
1 #!/bin/bash | |
2 | |
3 export PATH="$HOME/annna:$PATH" | |
4 manifestodb="$HOME/bin/modules/manifestos/normalized" | |
5 | |
6 manifestolength=$(($RANDOM % 56 + 8)) | |
7 | |
8 cd $manifestodb | |
9 cat * \ | |
10 | shuf 2>/dev/null \ | |
11 | head -n $manifestolength \ | |
12 | sed "s,$,\n,g" \ | |
13 | fmt -sut | |
14 |