view bin/addquote @ 1497:c091565553db

<elliott> revert 1492
author HackBot
date Sat, 12 Jan 2013 20:07:53 +0000
parents 48427dffea8d
children 1c1429d055bc
line wrap: on
line source

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