Mercurial > repo
view bin/pastenquotes @ 4207:eebc82a0937e
<olsner> echo \'allquotes | grep "$1" | shuf | head -n 1\' > bin/quoth
author | HackBot |
---|---|
date | Thu, 19 Dec 2013 21:11:33 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
#!/bin/sh n=$1 if [ "$((n+0))" != "$n" ]; then n=15; fi allquotes | shuf -n $n | paste