annotate bin/addquote @ 744:ae1e95df9af4

<fizzie> run cp bin/addquote bin/addquote_; sed -ie 's/echo/printf "%d) %s"/;s/") / "/' bin/addquote; cat bin/addquote
author HackBot
date Thu, 04 Oct 2012 21:20:53 +0000
parents e037173e0012
children d70bcf1800e0
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
744
ae1e95df9af4 <fizzie> run cp bin/addquote bin/addquote_; sed -ie 's/echo/printf "%d) %s"/;s/") / "/' bin/addquote; cat bin/addquote
HackBot
parents: 0
diff changeset
4 printf "%d) %s" $(qc | cut -d' ' -f1) "$1"