view bin/addquote @ 2011:544869460785

<oerjan> ln -s /bin/echo bin/rot256
author HackBot
date Tue, 05 Feb 2013 21:49:37 +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"