annotate bin/addquote @ 4566:1b161db44445

<fizzie> mv data/8ballreplies share/; sed -i -e \'s/data/share/\' bin/8*ball; rmdir data # going to hit some empty-directory problem again, I\'m sure
author HackBot
date Tue, 15 Apr 2014 10:28:33 +0000
parents 7f957c1f4661
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 [ "$1" ] || exit 1
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 printf "%s\n" "$1" >>quotes
4531
7f957c1f4661 <oerjan> revert
HackBot
parents: 4530
diff changeset
4 printf "%d) %s" $(qc | cut -d' ' -f1) "$1"