view bin/addquote @ 1810:50a542f0e95f

<oerjan> fetch http://oerjan.nvg.org/url
author HackBot
date Fri, 25 Jan 2013 20:27:04 +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"