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.

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

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]