view bin/addquote @ 998:ce6646114f58

<nortti> pastequotes
author HackBot
date Sun, 09 Dec 2012 20:48:02 +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"