Tuesday, September 29, 2009

Suitable Printersinvitation Business

Books

Puoi indovinare cosa faccia questo ciclo?
just copy it to a shell script and see what jumps out.
reminder interesting because it contains many basic constructs, which are often not using bash, they forget quickly.

echo-e "\\ e [32m";
while:; do
for i in {1 .. 16} ; do
r ="$(($ RANDOM% 2));
if [[$ (($ RANDOM% 5)) == 1]]; then
if [[$ (($ RANDOM% 4)) == 1]]; then
v + = "\\ e [1m $ r";
else
v + = "\\ e [2m $ r";
en-us;
else
v + = "";
en-us;
done;
echo-e "$ v";
v = "";
done


0 comments:

Post a Comment