ExLisper Site
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@sh.itjust.works to Programmer Humor@programming.dev · 1 年前

Escaping a string when passing through multiple tools

lemmy.ml

message-square
8
link
fedilink
159

Escaping a string when passing through multiple tools

lemmy.ml

cm0002@sh.itjust.works to Programmer Humor@programming.dev · 1 年前
message-square
8
link
fedilink
alert-triangle
You must log in or register to comment.
  • CandleTiger@programming.dev
    link
    fedilink
    arrow-up
    12
    ·
    1 年前

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

    • monkeyman512@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 年前

      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
        ·
        1 年前

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

  • deadbeef79000@lemmy.nz
    link
    fedilink
    arrow-up
    10
    ·
    1 年前
    [[[[[["TCL/TK has \\\\\\\\\\"entered\\\\\\\\\\" the chat."]]]]]] 
    
    • Hupf@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      1 年前

      https://xkcd.com/297/

  • bobzrkr@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 年前

    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
      ·
      1 年前

      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
        ·
        1 年前

        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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 511 users / day
  • 2.73K users / week
  • 6.34K users / month
  • 13.9K users / 6 months
  • 1 local subscriber
  • 33.4K subscribers
  • 1.71K Posts
  • 24.5K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org