Mercurial > repo
annotate bin/addquote @ 12253:ad5c5d1b7d04 draft
<oerjan> t sled lib/karma//s/egrep.*>/egrep -x \'<[^>]*>/
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 06 Dec 2019 07:53: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" |