How many scripts are there in Puppy?

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

How many scripts are there in Puppy?

#1 Post by musher0 »

Hello.

As the title says.

It's not really a futile question. I will dangle the answer in front of the
nose of a fellow French member who believes the bunch of us developers
are suffering from "scriptomania" and that Puppyists would be better off
clicking instead. I will write a script :twisted: to dangle the answer as many
times as the number in the answer, until his eyes fall out of their
sockets! :twisted:

Let's be clear -- as if it was not already obvious to 99.999 % of
Puppyists -- : without bash scripts there would be no Puppy.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#2 Post by mistfire »

Around 100+ scripts

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

mistfire wrote:Around 100+ scripts
Clearly not enough to make a torture! :twisted:

How did you get that number, mistfire?
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Marv
Posts: 1264
Joined: Wed 04 May 2005, 13:47
Location: SW Wisconsin

#4 Post by Marv »

Counting shebangs, I get 120 code files in uPupBB. Seems low but it only takes one to make a torture :lol:
Pups currently in kennel :D Older LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64 and upupEF for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#5 Post by MochiMoppel »

Marv wrote:Counting shebangs, I get 120 code files in uPupBB. Seems low but it only takes one to make a torture :lol:
I get 775 in Slacko5.6 :wink: :

Code: Select all

grep -rlm1 '#!/bin/b*a*sh' /initrd/pup_ro2 | wc -l
..and 7 more in initrd.gz makes it 782.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

musher0 must have a max script limit on his computer. :lol:
The things to wonder about :roll:

How many scripts does it take to make it a Puppy Linux OS :?:
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

bigpup? Don't give anybody any ideas!!! :lol:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#8 Post by musher0 »

Hello all.

Counting only scripts with an "sh" ending, I found 468 in my xenial-7.0.6 !
[/etc]>cd /root
[~]>tree -fish -L 6 | grep -E "sh$" | wc -l
54
[~]>cd /etc
[/etc]>tree -fish -L 6 | grep -E "sh$" | wc -l
29
[/etc]>cd /usr
[/usr]>tree -fish -L 6 | grep -E "sh$" | wc -l
385
[/usr]>expr 385 + 29 + 54
468 scripts at minimum.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

hamoudoudou

With Triton i use vocal commands..

#9 Post by hamoudoudou »

musher0 if you want to know how many scripts you wrote in this forum they are at least 477. This is a high score.
Behind a mouse clic, there is a script, a bin.. What i ask is not to start from zero,we are human. To Copy files from here to there, We just drag them with our mouse. To open an ISO, we click on it. To open a Pupsave, we click on it. And we like it.
Begin with 0 1, hexadecimal, C language if you like.. IMO it is better to start where others are arrived..
With Triton i use vocal commands.. IN FRENCH

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#10 Post by technosaurus »

bigpup wrote:How many scripts does it take to make it a Puppy Linux OS :?:
1
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#11 Post by musher0 »

technosaurus wrote:
bigpup wrote:How many scripts does it take to make it a Puppy Linux OS :?:
1
Noooohhh, you don't say!!!...
Pulling our leg, are you, technosaurus!!! :lol:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

#12 Post by foxpup »

musher0 wrote:
technosaurus wrote:
bigpup wrote:How many scripts does it take to make it a Puppy Linux OS :?:
1
Noooohhh, you don't say!!!...
Pulling our leg, are you, technosaurus!!! :lol:
My guess: the init

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#13 Post by technosaurus »

foxpup wrote:
musher0 wrote:
technosaurus wrote:1
Noooohhh, you don't say!!!...
Pulling our leg, are you, technosaurus!!! :lol:
My guess: the init
No need to guess, follow the link where I demonstrate how to combine multiple scripts into 1 the way busybox does it (only in shell instead of C - thus the name bashbox). A single large shell script is highly compressible and only uses up 1 inode (if you use hardlinks) if you had ~512 scripts instead, it would take up a minimum of 2Mb (assuming 4kb page sizes) even on a compressed filesystem whereas with a single script it could be as low as 4kb. The other bonus that you get is that every "script" is already preloaded into RAM as long as any other "script" from the multicall script has been run (which is always if one of them is init).

This method only works well with a unified development team - Puppy it turns out, is not the right community for it... Maybe if I resume my PLiNG project.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

hamoudoudou

as a poor lonesome cow-boy.

#14 Post by hamoudoudou »

Just to inform you can make your scripts in programming section, no need to create an anglophone forum where you will feel alone.. as a poor lonesome cow-boy.

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

Re: as a poor lonesome cow-boy.

#15 Post by darry19662018 »

hamoudoudou wrote:Just to inform you can make your scripts in programming section, no need to create an anglophone forum where you will feel alone.. as a poor lonesome cow-boy.


Why so he can experience your "constructive comments" and then you complain when some one points out a few home truths to you and you of course do no wrong.

hamoudoudou

a Silicon Valey for brain-stormers. with experts..

#16 Post by hamoudoudou »

I wanted just to remember that our forum category Programing is created to satisfy most of programers. a Silicon Valey for brain-stormers. with experts..available for help to learners (in programing).
IF Puppy was Puppy-City, we need one programmer, as a Baker.
All the inhabitants had not to be programmers, they would fight together.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#17 Post by slavvo67 »

3... just 3....

Post Reply