Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Sep 2018, 16:46
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
How many scripts are there in Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
musher0

Joined: 04 Jan 2009
Posts: 12692
Location: Gatineau (Qc), Canada

PostPosted: 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 Twisted Evil to dangle the answer as many
times as the number in the answer, until his eyes fall out of their
sockets! Twisted Evil

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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 946
Location: PH

PostPosted: Tue 10 Apr 2018, 21:32    Post subject:  

Around 100+ scripts
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12692
Location: Gatineau (Qc), Canada

PostPosted: Tue 10 Apr 2018, 21:39    Post subject:  

mistfire wrote:
Around 100+ scripts

Clearly not enough to make a torture! Twisted Evil

How did you get that number, mistfire?

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 1076
Location: SW Wisconsin

PostPosted: 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 Laughing
_________________
Pups currently in kennel Very Happy LxPupSc and X-slacko-4.4 for my users; LxPupSc, LxPupSc64, and LxPupBB for me. All good pups indeed, and all running savefiles for look'n'feel only. Browsers, etc. solely from SFS. Now tazpup for puzzles Smile
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1619
Location: Japan

PostPosted: 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 Laughing
I get 775 in Slacko5.6 Wink :
Code:
grep -rlm1 '#!/bin/b*a*sh' /initrd/pup_ro2 | wc -l
..and 7 more in initrd.gz makes it 782.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11018
Location: Charleston S.C. USA

PostPosted: Tue 10 Apr 2018, 23:35    Post subject:  

musher0 must have a max script limit on his computer. Laughing
The things to wonder about Rolling Eyes

How many scripts does it take to make it a Puppy Linux OS Question

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12692
Location: Gatineau (Qc), Canada

PostPosted: Wed 11 Apr 2018, 00:54    Post subject:  

bigpup? Don't give anybody any ideas!!! Laughing
_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 12692
Location: Gatineau (Qc), Canada

PostPosted: 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
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4833
Location: Kingwood, TX

PostPosted: Fri 13 Apr 2018, 01:13    Post subject:  

bigpup wrote:
How many scripts does it take to make it a Puppy Linux OS Question
1
_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 12692
Location: Gatineau (Qc), Canada

PostPosted: 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 Question
1
Noooohhh, you don't say!!!...
Pulling our leg, are you, technosaurus!!! Laughing

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
foxpup


Joined: 29 Jul 2016
Posts: 555
Location: europa near northsea

PostPosted: 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 Question
1
Noooohhh, you don't say!!!...
Pulling our leg, are you, technosaurus!!! Laughing
My guess: the init
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4833
Location: Kingwood, TX

PostPosted: 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 Question
1
Noooohhh, you don't say!!!...
Pulling our leg, are you, technosaurus!!! Laughing
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
View user's profile Send private message Visit poster's website 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: 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
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 228

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1127s ][ Queries: 11 (0.0146s) ][ GZIP on ]