:: Re: [DNG] What languages are actual…
Etusivu
Poista viesti
Vastaa
Lähettäjä: onefang
Päiväys:  
Vastaanottaja: dng
Vanhat otsikot: Re: [DNG] Lua
Aihe: Re: [DNG] What languages are actually used?
On 2024-10-25 08:18:21, onefang wrote:
> On 2024-10-24 11:49:44, Didier Kryn wrote:
> The languages I picked for my hello world example was the result of
> running the file command over /usr/bin to see what scripting languages
> are actually being used there.


Just a follow up, I wrote this and found it informative. This is on my
super desktop, with lots of software installed, a mostly Daedalus
FrankenDevuan that was usr merged.

file --brief /usr/*bin/* | grep " script" | cut --delimiter=',' --fields=1 | sort | uniq --count | sort --ignore-leading-blanks --general-numeric-sort
      1 a sh script
      1 PHP script
      7 Tcl script
      8 Lua script
      24 Ruby script
      105 Python script
      203 Bourne-Again shell script
      220 Perl script text executable
      364 POSIX shell script


The Lua count might be higher than normal, since I'm a Lua fan and have a
lot of it installed. Everything else is likely typical proportions.

--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.