Skip to content

Instantly share code, notes, and snippets.

@matthewpizza
Created October 6, 2016 19:29
Show Gist options
  • Save matthewpizza/169b14ba4be356d1a6262ef825fdf152 to your computer and use it in GitHub Desktop.
Save matthewpizza/169b14ba4be356d1a6262ef825fdf152 to your computer and use it in GitHub Desktop.
#!/bin/bash
cowfiles=$(cowsay -l | grep -v \/)
for cowfile in $cowfiles
do
cowsay -f $cowfile "$cowfile"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment