view bin/addquote @ 805:76b875181dd0

<shachaf> pastelog pastelog
author HackBot
date Sun, 21 Oct 2012 06:28:27 +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"