view bin/quotes @ 5683:0a3d23a1e853

<boily> ` echo $\'#!/bin/sh\\nsed -re "y/aehiotuwxyAEHIOUWXY/\xc3\xa4\xc3\xab\xe1\xb8\xa7\xc3\xaf\xc3\xb6\xe1\xba\x97\xc3\xbc\xe1\xba\x85\xe1\xba\x8d\xc3\xbf\xc3\x84\xc3\x8b\xe1\xb8\xa6\xc3\x8f\xc3\x96\xc3\x9c\xe1\xba\x84\xe1\xba\x8c\xc5\xb8/"\' >bin/d\xc3\xb6ts && chmod a+x bin/d\xc3\xb6ts && wisdom | d\xc3\xb6ts
author HackBot
date Wed, 24 Jun 2015 19:52:01 +0000
parents e037173e0012
children ad85e082af96
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