view bin/addquote @ 5072:42c0bb9b97fc

<oerjan> revert 5069
author HackBot
date Sat, 18 Oct 2014 13:29:03 +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"