view bin/addquote @ 4989:2840b8c573fd

<zui438s> echo false is true > wisdom/false
author HackBot
date Wed, 01 Oct 2014 22:39:41 +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"