← Back to team overview

torios team mailing list archive

Re: Yet another JWM-settings-manager update

 

On 12/22/2014 05:16 PM, Jack T. wrote:
>
> Thanks for your useful update Israel...I enjoy your enthusiasm...JackT.
>
Hi,
No problem!!

And for the super interested:
27996
lines of code as reported by

tempy=($(ls))
wc -l ${tempy[@]}

This does include comments and blank lines of course... but it is under
30k lines!!  I think I can shrink it down still more and make some
things easier for future maintenance....  But I also have to add more...
so I think it will still remain under 30k lines.

Which of course the *w*ord*c*ount program is very useful for any of you
who like terminals :P
Of course if you like terminals you may very well be familiar with this
one...

And also just to enthusiastically explain the other bit of it, I made an
array called tempy [that is why I used () around the command $(ls)... 
and the mysterious [@] do tell bash to use everything inside the
array... not just a certain element ]


-- 
Regards

-Israel
ToriOS Team


References