Skip to content

Instantly share code, notes, and snippets.

@shibafu528
Created June 11, 2014 22:14
Show Gist options
  • Save shibafu528/02db63eeb323d4290a4e to your computer and use it in GitHub Desktop.
Save shibafu528/02db63eeb323d4290a4e to your computer and use it in GitHub Desktop.
やっつけなコピペ
#/bin/bash
count=0
gen=AAAA
while [ "$gen" != "STAP" ]
do
count=$(($count+1))
gen=`cat /dev/urandom | tr -dc 'A-Z' | fold -w 4 | head -n 1`
echo ${gen}細胞
done
echo ${count}回目で陽性かくにん!よかった
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment