view bin/addquote @ 1348:ec6018972dc0

<GreyKnight> chmod a+x gktemp/target
author HackBot
date Thu, 10 Jan 2013 13:29:55 +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"