nezzario

Children's Cowsay Script

Apr 19th, 2014
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # apt-get install cowsay
  4.  
  5. for x in /usr/share/cowsay/cows/*.cow; do
  6.     clear;
  7.     echo ----------------;
  8.     echo $x;
  9.     echo ----------------;
  10.     cowsay -f $x -s "$1";
  11.     echo;
  12.     sleep 2;
  13. done;
  14.  
  15.  # apt-get install sl
  16.  
  17. sl -a; sl -l; sl -F; sl; sl -l
Advertisement
Add Comment
Please, Sign In to add comment