Mercurial > repo
annotate bin/addquote @ 12256:821155c00e34 draft
<fizzie> ` sed -e \'s|wisdom|bin|\' < ../bin/culprits > ../bin/cblprits; chmod a+x ../bin/cblprits
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 07 Dec 2019 23:36:22 +0000 |
parents | e1ce00d00682 |
children |
rev | line source |
---|---|
5643 | 1 #!/bin/sh |
2 [ "$1" ] || exit 1 | |
12116
e1ce00d00682
<fizzie> sled /hackenv/bin/addquote//s|quotes|${HACKENV-/hackenv}/quotes|
HackEso <hackeso@esolangs.org>
parents:
5643
diff
changeset
|
3 printf "%s\n" "$1" >>${HACKENV-/hackenv}/quotes |
5643 | 4 printf "%d) %s" $(qc | cut -d' ' -f1) "$1" |