Mercurial > repo
annotate bin/mirrorgo @ 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 | b9ced0a7783a |
children |
rev | line source |
---|---|
8309
b9ced0a7783a
<izabera> ` printf \'#!/bin/bash\\ndeclare {{a..h},{j..t}}="$((i++))" letters=({{a..h},{j..t}}); while read -r; do echo "${letters[18-${REPLY:0:1}]}$((20-${REPLY:1}))"; done\\n\' > bin/mirrorgo
HackBot
parents:
diff
changeset
|
1 #!/bin/bash |
b9ced0a7783a
<izabera> ` printf \'#!/bin/bash\\ndeclare {{a..h},{j..t}}="$((i++))" letters=({{a..h},{j..t}}); while read -r; do echo "${letters[18-${REPLY:0:1}]}$((20-${REPLY:1}))"; done\\n\' > bin/mirrorgo
HackBot
parents:
diff
changeset
|
2 declare {{a..h},{j..t}}="$((i++))" letters=({{a..h},{j..t}}); while read -r; do echo "${letters[18-${REPLY:0:1}]}$((20-${REPLY:1}))"; done |