view bin/addquote @ 893:de1382a01587

<elliott> delquote 857
author HackBot
date Thu, 22 Nov 2012 23:13:14 +0000
parents ae1e95df9af4
children d70bcf1800e0
line wrap: on
line source

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