view bin/addquote @ 2075:5b815565e087

<shachaf> mv bin/{supermega,sm}list
author HackBot
date Sat, 09 Feb 2013 06:07:56 +0000
parents c091565553db
children 1c1429d055bc
line wrap: on
line source

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