Skip to content

Instantly share code, notes, and snippets.

@oogali
Created May 25, 2011 18:06
Show Gist options
  • Save oogali/991514 to your computer and use it in GitHub Desktop.
Save oogali/991514 to your computer and use it in GitHub Desktop.
nyan
#!/bin/bash
x=$[RANDOM % 8]
y=$[RANDOM % 8]
i=0
j=0
while [ $i != $x ]; do
while [ $j != $y ]; do
/bin/echo -n "nyan "
j=$[j+1]
done
echo
i=$[i+1]
j=0
y=$[RANDOM % 8]
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment