view bin/addquote @ 858:c9b457fcb44d

<elliott> run ls bin | paste
author HackBot
date Tue, 20 Nov 2012 02:06:16 +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"