Livejournal
Log in
Post
Friends
My journal
holybrake
для цветового дизайна скриптов баша
holybrake
Mar 27, 2009 17:41
#!/bin/bash
for ((bg=0;$bg<10;bg=(($bg+1)) ))
do
for ((bld=0;$bld<2;bld=(($bld+1)) ))
do
for ((fg=0;$fg<10;fg=(($fg+1)) ))
do
color=$bld";4"$bg";3"$fg
echo -e "\E["$color"m"$color"\E[0m\c"
done
echo
done
done
scripts
,
bash
Leave a comment
5
Up