view bin/pastenquotes @ 3898:d412a26653e5

<fizzie> printf \'%s\\n\' \'#!/usr/bin/env python\' \'import sys\' \'import unicodedata\' \'print u" ".join("[{0}]".format(unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")\' > bin/unidecode
author HackBot
date Fri, 11 Oct 2013 13:53:14 +0000
parents e037173e0012
children
line wrap: on
line source

#!/bin/sh
n=$1
if [ "$((n+0))" != "$n" ]; then n=15; fi
allquotes | shuf -n $n | paste