Skip to content

Instantly share code, notes, and snippets.

@stinethebean3
Created August 12, 2014 04:45
Show Gist options
  • Select an option

  • Save stinethebean3/3b3b866b7efa3d9b7ba2 to your computer and use it in GitHub Desktop.

Select an option

Save stinethebean3/3b3b866b7efa3d9b7ba2 to your computer and use it in GitHub Desktop.
Makes a picture of a cow say what you want
#!/bin/bash
count=${#*}
for word in $* ; do
count=$(($count+${#word}))
done
echo -n " "
for i in $(eval echo {0..$count}); do
echo -n _;
done
echo " "
echo "< $* >"
echo -n " "
for i in $(eval echo {0..$count}); do
echo -n -;
done
echo " "
echo " \ ^__^"
echo " \ (oo)\_______"
echo " (__)\ )\/\ "
echo " ||----w |"
echo " || ||"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment