view bin/addquote @ 3255:7fd9be229806

<hagb4rd> pastelog phantom.*itidus
author HackBot
date Sun, 30 Jun 2013 15:57:18 +0000
parents 7914d7e0b500
children 03afb1619ef2
line wrap: on
line source

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