Mercurial > repo
annotate bin/addquote @ 12191:4b672cc66ade draft
<b_jonas> `` perl -ni -e \'/^you\\(.lamb/ or print\' /hackenv/share/whatis
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Mon, 25 Nov 2019 08:37:20 +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" |