Mercurial > repo
annotate bin/addquote @ 12174:37820460a468 draft
<fizzie> delquote 753
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 20 Nov 2019 20:11:04 +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" |