view bin/addquote @ 760:837ea972cff7

<oerjan> run sed -i '867s/ <o/ <o/g' quotes
author HackBot
date Fri, 05 Oct 2012 21:47:53 +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"