Mercurial > repo
view bin/quote @ 2122:efda4b1e7249
<Taneb> echo "Nobody knows anything about the West Midlands, and it has claimed the lives of at least two former regulars in this channel who tried to investigate so for" > wisdom/west\\ midlands
author | HackBot |
---|---|
date | Wed, 13 Feb 2013 16:21:38 +0000 |
parents | 44d4b2e5140d |
children |
line wrap: on
line source
#!/bin/sh allquotes | if [ "$1" ]; then if expr "$1" + 0 >/dev/null 2>&1; then sed "$1q;d" else grep -P -i -- "$1" fi else shuf -n 1; fi