• Rikudou_Sage@lemmings.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    I added an expression support to my Automod for Lemmy which can have subexpressions as parameters etc., pretty cool to work with.

    Except every subexpression needs 2^n-1 slashes where n is the depth level. Fun times writing the expressions.

    • monkeyman512@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      10 days ago

      I think I have seen a few CLI tools that put the input between an open and close arg like this “-arg1 random passthrough string -arg1-”

  • leds@feddit.dk
    link
    fedilink
    arrow-up
    7
    ·
    10 days ago

    Oh you mean a pipiline defined in yaml, running in poweshell to execute a command in docker on windows?

  • bobzrkr@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    10 days ago

    I had to do this yesterday. First I tried ". Then \", finally \" worked. Which doesn’t make sense. But I’m not looking for answers, I’ve got more Jira tickets this sprint.

  • SpikesOtherDog@ani.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    Run a PowerShell script from batch, but call it using start-process as administrator, using a variable for the path and also pass parameters to the script.