annotate bin/addquote @ 5812:8f6b044e5b77

<oerjan> learn_append shachaf He hates bell peppers with a passion.
author HackBot
date Thu, 09 Jul 2015 00:01:10 +0000
parents 56dcce63901b
children e1ce00d00682
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5643
56dcce63901b <tswett> revert
HackBot
parents:
diff changeset
1 #!/bin/sh
56dcce63901b <tswett> revert
HackBot
parents:
diff changeset
2 [ "$1" ] || exit 1
56dcce63901b <tswett> revert
HackBot
parents:
diff changeset
3 printf "%s\n" "$1" >>quotes
56dcce63901b <tswett> revert
HackBot
parents:
diff changeset
4 printf "%d) %s" $(qc | cut -d' ' -f1) "$1"