Last active
August 30, 2017 10:06
-
-
Save kuwa72/5e465127983371c66724429c73763c1f to your computer and use it in GitHub Desktop.
ぬるぽガッ
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
yes 'echo $((RANDOM%3))' | bash | head -n 100 | while read X;do E=$P;P=$N;N=$X; echo $X;if [[ "$N" == 2 && "$P" == 1 && "$E" == 0 ]];then echo "ガッ!!!";break;fi;done | sed -e 's/0/ぬ/' -e 's/1/る/' -e 's/2/ぽ/' |
N=ぬるぽ;gshuf -ri 0-2|while read X;do Y=$X${Y:0:2};echo ${N:X:1};[ $Y == 210 ]&&echo "ガッ"&&break;done
gshuf=GNU coreutils's shuf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output is as allowed:
ぽ
る
る
ぽ
ぬ
ぬ
ぬ
る
る
ぬ
る
ぬ
る
ぽ
ガッ!!!