Mercurial > repo
annotate bin/scheme @ 12265:984c8295238b draft
<b_jonas> slashlearn aoc/Advent of Code (AoC) is a series of programming puzzles that some regulars enjoy, found at "https://adventofcode.com/2019/about".
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Mon, 16 Dec 2019 22:49:45 +0000 |
parents | e9fea593e702 |
children |
rev | line source |
---|---|
10174
03ab1a0909e2
<b_jonas> `` c=bin/scheme; >$c echo $\'#!/bin/sh\\nexec perl \\\'-ne/Scheme$/&&push@p,$p;$p=$_}{print$p[rand@p]\\\' share/mtg/allsets.txt\' && chmod -c a+x "$c"
HackBot
parents:
diff
changeset
|
1 #!/bin/sh |
12021
e9fea593e702
<b_jonas> `` /bin/sed -i \'s%share%${HACKENV-/hackenv}/share%\' bin/scheme
HackEso <hackeso@esolangs.org>
parents:
10174
diff
changeset
|
2 exec perl '-ne/Scheme$/&&push@p,$p;$p=$_}{print$p[rand@p]' ${HACKENV-/hackenv}/share/mtg/allsets.txt |