Crony's Dungeon
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@sh.itjust.works to Programmer Humor@programming.dev · 3 days ago

Escaping a string when passing through multiple tools

lemmy.ml

message-square
8
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
180

Escaping a string when passing through multiple tools

lemmy.ml

cm0002@sh.itjust.works to Programmer Humor@programming.dev · 3 days ago
message-square
8
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or register to comment.
  • leds@feddit.dk
    link
    fedilink
    arrow-up
    6
    ·
    2 days ago

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

  • CandleTiger@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    2 days ago

    Aaaaaaaaaaaaaaaaaaa No!!! My data! Please stop doing that!

    • monkeyman512@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 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-”

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        Now say the CLI tool is passed a string that has “-arg1-” inside it.

  • deadbeef79000@lemmy.nz
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago
    [[[[[["TCL/TK has \\\\\\\\\\"entered\\\\\\\\\\" the chat."]]]]]] 
    
  • bobzrkr@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    2 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.

    • bobzrkr@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 days ago

      LOL even here it gets me . I tried slash quote, slash slash slash quote, finally slash slash quote worked.

      • someacnt@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        You mean \", \\", and \\\" ?

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 149 users / day
  • 3.89K users / week
  • 7.95K users / month
  • 17.7K users / 6 months
  • 1 local subscriber
  • 26.7K subscribers
  • 1.64K Posts
  • 50.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org