daily pastebin goal
44%
SHARE
TWEET

Colorshell

a guest Jun 8th, 2010 2,180 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bash 2>&1 | awk 'BEGIN{   printf "Welcome to %s 0.1beta\n",c("colorshell");   srand();   printf ">> ";}function plop(nb){   nb = int(rand()*9)+30;   return nb;}function c(str,ret){ split(str,tab,""); ret = ""; for (i=0;i<length(tab);i++){  random=plop();  if (random == 30) {   random = 0;  }  ret = sprintf("%s\033[%dm%s\033[m",ret,random,tab[i]); } return ret;}{   printf "%s\n",c($0);   printf ">> ";}'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top