annotate bin/karma- @ 12296:042127c1c142 draft

<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 13:28:36 +0000
parents b609b327acd0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
12252
b609b327acd0 <oerjan> slbd karma-//2d;3s,$, | tee ${HACKENV-/hackenv}/karma,
HackEso <hackeso@esolangs.org>
parents: 12251
diff changeset
2 echo "$1 now has $(($(${HACKENV-/hackenv}/lib/karma "$1")-1)) karma." | tee ${HACKENV-/hackenv}/karma
12251
43e81e35c694 <oerjan> revert
HackEso <hackeso@esolangs.org>
parents: 12250
diff changeset
3