Last active
February 8, 2017 16:42
-
-
Save kou029w/2cfe17479fc30487cd84cda85f8e1378 to your computer and use it in GitHub Desktop.
create a kemono code that outputs a given brainfuck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# なにこれなにこれ! | |
# https://github.com/consomme/kemono_friends_lang | |
s='s/>/たのしー:+/たーのしー:</すごーい:-/すっごーい:\[/うわー:]/わーい:\./なにこれなにこれ:,/おもしろーい:^.$//';grep -o . "$@"|sed "${s//:/!/;s/}"|tr -d \\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use
From your command line:
./bf2kemono.sh <(echo '>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-<.>+++++++++++[<+++++>-]<.>++++++++[<+++>-]<.+++.------.--------.[-]>++++++++[<++++>-]<+.[-]++++++++++.')