view bin/addquote @ 1437:0abbd47bf661

<GreyKnight> echo "Monads are like overloading the semicolon." >> wisdom/monad_analogies
author HackBot
date Sat, 12 Jan 2013 00:56:07 +0000
parents ee2e8950bb3c
children 48427dffea8d
line wrap: on
line source

#!/bin/sh
[ "$1" ] || exit 1
printf "%s\n" "$1" >>quotes
printf "%d) %s" $(qc | cut -d' ' -f1) "$1"