view bin/addquote @ 5465:d2fdb9c12e32

<oerjan> undo 5464
author HackBot
date Sun, 07 Jun 2015 16:47:56 +0000
parents 7f957c1f4661
children
line wrap: on
line source

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