view bin/addquote @ 1223:afc9dad38071

<elliott> revert
author HackBot
date Wed, 02 Jan 2013 01:03:17 +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"