view bin/addquote @ 1036:c4ced9134746

<Gregor> addquote <elliott> I kept telling my therapist I wanted more conventional, non-hip-hop-oriented treatment, but it was no use. my shrinkwrapped. <elliott> okay i hate myself for making a pun that bad <elliott> please kill me <elliott> :(
author HackBot
date Tue, 11 Dec 2012 21:39:59 +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"