SHARE
TWEET

Untitled

a guest Jul 28th, 2014 226 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. read i
  2. p=0
  3. d=1
  4. printf '\n%.0s' `seq $i`
  5. for l in {A..Z};do
  6. ((p>i))&&((p*=-1))
  7. ((i-1))||p=0
  8. ((p))&&echo -en "\033[s\033[${p#-}A"
  9. [[ $l == B ]]&&l=Bash
  10. echo -en $l"\033[s\033[${p#-}B"
  11. ((p++))
  12. done
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