view bin/addquote @ 1665:ce02295ade4a

<c00kiemon5ter> mv LbMU bin/pseen && chmod 755 bin/pseen
author HackBot
date Tue, 22 Jan 2013 15:20:55 +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"