View difference between Paste ID: zKa3zdwR and H0jFtYy0
SHOW: | | - or go back to the newest paste.
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
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