Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmings.world to Programmer Humor@programming.dev · 3 days ago

Just use cURL

justuse.org

external-link
message-square
60
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
260
external-link

Just use cURL

justuse.org

cm0002@lemmings.world to Programmer Humor@programming.dev · 3 days ago
message-square
60
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • ⛓️‍💥@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    22
    ·
    3 days ago

    Command line escaping is an annoying son of a bitch and different rules apply depending if you’re using bash, cmd, powershell.

    • optional@sh.itjust.works
      link
      fedilink
      arrow-up
      20
      arrow-down
      13
      ·
      edit-2
      2 days ago

      That’s why you shouldn’t use cmd or powershell. That and the fact that you’d have to install W*nd*ws in order to use them.

      Edit: Too bad that all the downvoters didn’t leave a comment. Now I’ll never know if it was M*cr*s*ft employees on their anual works outing, or if you’re mad because I dared to use the W-word :D

      • AlphaAutist@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 days ago

        I hate windows/microsoft as much as anyone and i hate to say this but powershell isn’t that bad and can be installed on Linux and MacOS

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          1 day ago

          Thanks, I didn’t know that. And now I wish I could forget it again.

        • jenesaisquoi@feddit.org
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          1 day ago

          Yeah but why would you, they already have proper shells

      • BatmanAoD@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        String escaping sucks in bash and other posix-style shells too, though.

        • FuckBigTech347@lemmygrad.ml
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 day ago

          I rather deal with that than any Micro$oft® Garbage®.

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          “Tru dat\!”

      • dariusj18@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 days ago

        Command line escaping is not a solely cmd or powershell thing to deal with. But also,

        https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.5

        • optional@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          Thanks, I didn’t know that. And now I wish I could forget it again.

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.

  • 1.91K users / day
  • 4.6K users / week
  • 9.56K users / month
  • 19.3K users / 6 months
  • 1 local subscriber
  • 27K subscribers
  • 1.52K Posts
  • 42.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org