Author |
Message |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Mon 09 Apr 2018, 21:15 Post subject:
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.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
mistfire
Joined: 04 Nov 2008 Posts: 1424 Location: PH
|
Posted: Tue 10 Apr 2018, 21:32 Post subject:
|
|
Around 100+ scripts
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Tue 10 Apr 2018, 21:39 Post subject:
|
|
mistfire wrote: | Around 100+ scripts |
Clearly not enough to make a torture!
How did you get that number, mistfire?
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
Marv

Joined: 04 May 2005 Posts: 1265 Location: SW Wisconsin
|
Posted: Tue 10 Apr 2018, 21:59 Post subject:
|
|
Counting shebangs, I get 120 code files in uPupBB. Seems low but it only takes one to make a torture
_________________ Pups currently in kennel 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.
|
Back to top
|
|
 |
MochiMoppel

Joined: 26 Jan 2011 Posts: 2084 Location: Japan
|
Posted: Tue 10 Apr 2018, 22:43 Post subject:
|
|
Marv wrote: | Counting shebangs, I get 120 code files in uPupBB. Seems low but it only takes one to make a torture  | I get 775 in Slacko5.6 :
Code: | grep -rlm1 '#!/bin/b*a*sh' /initrd/pup_ro2 | wc -l | ..and 7 more in initrd.gz makes it 782.
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 13981 Location: S.C. USA
|
Posted: Tue 10 Apr 2018, 23:35 Post subject:
|
|
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 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)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Wed 11 Apr 2018, 00:54 Post subject:
|
|
bigpup? Don't give anybody any ideas!!!
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Wed 11 Apr 2018, 01:28 Post subject:
|
|
Hello all.
Counting only scripts with an "sh" ending, I found 468 in my xenial-7.0.6 !
Quote: | [/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)
|
Back to top
|
|
 |
hamoudoudou
Joined: 24 Jul 2014 Posts: 1467 Location: rabat
|
Posted: Wed 11 Apr 2018, 12:16 Post subject:
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
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Fri 13 Apr 2018, 01:13 Post subject:
|
|
bigpup wrote: | How many scripts does it take to make it a Puppy Linux OS  | 1
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Fri 13 Apr 2018, 03:52 Post subject:
|
|
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!!!
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
foxpup
Joined: 29 Jul 2016 Posts: 1141
|
Posted: Fri 13 Apr 2018, 04:28 Post subject:
|
|
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!!!  | My guess: the init
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Fri 13 Apr 2018, 21:31 Post subject:
|
|
foxpup wrote: | 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!!!  | 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 github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
hamoudoudou
Joined: 24 Jul 2014 Posts: 1467 Location: rabat
|
Posted: Wed 13 Jun 2018, 02:33 Post subject:
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.
|
Back to top
|
|
 |
darry19662018
Joined: 31 Mar 2018 Posts: 731 Location: Rakaia
|
Posted: Wed 13 Jun 2018, 02:52 Post subject:
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.
|
Back to top
|
|
 |
|