vstup/matrixový-spořič.sh
author František Kučera <franta-hg@frantovo.cz>
Tue, 10 Jan 2012 17:47:21 +0100
changeset 83 b8e5f8f9c77b
parent 43 4a4364826e59
child 87 25dec6931f18
permissions -rwxr-xr-x
Zvýrazňování syntaxe #12 / pre: odsazení (tabulátor) bude 4 znaky (dříve 8).
     1 #!/bin/bash
     2 # Matrixový spořič :-)
     3 
     4 case "$1" in
     5 	start)
     6 		echo -e "\033[22;32m";
     7 		cat /dev/urandom | hexdump;
     8 ;;
     9 	stop)
    10 		echo -e "\033[0m";
    11 ;;
    12 	*)
    13 		$0 start;
    14 ;;
    15 esac