Mercurial > repo
view bin/quote @ 9295:8d2b73b8d21f
<hppavilion[1]> learn Logic is just another tool that the true scotsMan uses to keep you down.
author | HackBot |
---|---|
date | Sun, 16 Oct 2016 07:13:36 +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