[Novalug] Happy Holidays

Miles D. Oliver miles.d.oliver@gmail.com
Wed Dec 21 06:45:45 EST 2016


Peter,

Doesn't work.

Your post drops the 'spaces' where they count.

This should.

letters=( \" \');while true;do clear;
letter=${letters[$[RANDOM%${#letters[@]}]]
}; [[ $letter == \" ]] && color=35 || color=32;m=2;i=77;p=$(($i/2-1));
while [[
$m -le $i ]];do printf "%${p}s" ;printf "\e[4;${color}m${letter}%.0s\e[m"
$(seq
$m);echo;m=$[m+2];((p--));done;sleep 1;done

if you paste it into your favorite editor. it should be all one line.


On Tue, Dec 20, 2016 at 11:56 PM, Peter Larsen via Novalug <
novalug@firemountain.net> wrote:

> So it seems that I'm not the only one pre-occupied this week with the
> holidays. So to everyone in NovaLug land - in real bash manners:
>
> Happy Holiday!
>
> |letters=(\"
> \');whiletrue;doclear;letter=${letters[$[RANDOM%${#letters[@
> ]}]]};[[$letter
> ==\" ]]&&color=35||color=32;m=2;i=77;p=$(($i/2-1));while[[$m -le $i
> ]];doprintf "%${p}s";printf "\e[4;${color}m${letter}%.0s\e[m"$(seq
> $m);echo;m=$[m+2];((p--));done;sleep 1;doneJust run that :) |
>
> --
> Regards
>   Peter Larsen
>
> **********************************************************************
> The Novalug mailing list is hosted by firemountain.net.
>
> To unsubscribe or change delivery options:
> http://www.firemountain.net/mailman/listinfo/novalug
>


More information about the Novalug mailing list