view bin/addquote @ 5213:e3d90104844e

<Taneb> ` echo "fi" >> bin/2014
author HackBot
date Wed, 31 Dec 2014 20:28:40 +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"