Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: What is your favourite Linux scripting or programming language?

by Corion (Patriarch)
on Jan 25, 2021 at 15:28 UTC ( [id://11127442]=note: print w/replies, xml ) Need Help??


in reply to Re: What is your favourite Linux scripting or programming language?
in thread What is your favourite Linux scripting or programming language?

If you look at Github actions, they are shell scripts where each command is stored as a list entry in a YAML file. I'm not sure why they didn't go with simple shell scripts, but it seems that about every one of these CI things starts out as "simple YAML file" and evolves into a shell script, except stored in YAML.

Replies are listed 'Best First'.
Re^3: What is your favourite Linux scripting or programming language?
by choroba (Cardinal) on Jan 25, 2021 at 16:56 UTC
    IIRC, storing scripts in an XML document indicating what interpreter to use for each snippet was patented by Microsoft years ago, but YAML might still be free to use ;-)

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      patented by Microsoft years ago

      How many years ago? (As in, "Has the patent on that bad idea expired yet?")

        This article is from 2004 and was the first google hit for "microsoft patent xml script". We used XML a lot at work at that time and it was a hot topic for several weeks.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11127442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found