How many scripts are there in Puppy?
How many scripts are there in Puppy?
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 to dangle the answer as many
times as the number in the answer, until his eyes fall out of their
sockets!
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.
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 to dangle the answer as many
times as the number in the answer, until his eyes fall out of their
sockets!
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)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Counting shebangs, I get 120 code files in uPupBB. Seems low but it only takes one to make a torture
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.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
I get 775 in Slacko5.6 :Marv wrote:Counting shebangs, I get 120 code files in uPupBB. Seems low but it only takes one to make a torture
Code: Select all
grep -rlm1 '#!/bin/b*a*sh' /initrd/pup_ro2 | wc -l
musher0 must have a max script limit on his computer.
The things to wonder about
How many scripts does it take to make it a Puppy Linux OS
The things to wonder about
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
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Hello all.
Counting only scripts with an "sh" ending, I found 468 in my xenial-7.0.6 !
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)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
With Triton i use vocal commands..
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
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
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
1bigpup wrote:How many scripts does it take to make it a Puppy Linux OS
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].
Noooohhh, you don't say!!!...technosaurus wrote:1bigpup wrote:How many scripts does it take to make it a Puppy Linux OS
Pulling our leg, are you, technosaurus!!!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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).foxpup wrote:My guess: the initmusher0 wrote:Noooohhh, you don't say!!!...technosaurus wrote:1
Pulling our leg, are you, technosaurus!!!
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].
as a poor lonesome cow-boy.
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.
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact:
Re: as a poor lonesome cow-boy.
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.
a Silicon Valey for brain-stormers. with experts..
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.
IF Puppy was Puppy-City, we need one programmer, as a Baker.
All the inhabitants had not to be programmers, they would fight together.