view bin/addquote @ 5326:251f5b3167b6

<izabera> ` echo harry ron hermione >> bin/emptylist
author HackBot
date Thu, 23 Apr 2015 06:53:55 +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"