view bin/quote @ 8443:25d17890312c

<noloveinwaikiki> le/rn oerjan/pedantic like a STASI agent traces every unknown user. but why? game? tradition? misinformation? uncivilized sports .. ultraviolant on christmas eve. (old text: wisdom/oerjan_)
author HackBot
date Fri, 10 Jun 2016 07:54:27 +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