Mercurial > repo
view bin/quote @ 9280:2d58b8902aa7
<oerjan> addquote <hppavilion[1]> THEY MADE A MOVIE ABOUT THE 50 SHADES SEQUEL TOO! <hppavilion[1]> Somebody shall pay for this <imode> not me, I ain\'t buyin\' a ticket.
author | HackBot |
---|---|
date | Fri, 14 Oct 2016 15:37:50 +0000 |
parents | e037173e0012 |
children | 797fb6694b97 3e54f8d1843f |
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