• NegativeLookBehind@kbin.social
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    1 year ago

    Something similar happened to me a while back. I was copying some code from a Mac to a remote Linux host. For some reason the Mac was using a thing called an “en dash” which is slightly longer than a regular hyphen - and was really fucking frustrating to figure out.

    • lobut@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Some mac apps have some quirks, the default note app was probably not meant for pasting code in, but when you do it changes the quotes and makes them all fancy. Drives me up the wall and there’s nobody to blame but me.

      • 🐍🩶🐢@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I was looking for this. Some text from webpages end up pasting that way too, even on non-mac systems, and it is utterly infuriating. Nothing I hate more than having to paste something into notepad++ so I can fix all the stupid quotes from some online tutorial that is giving you things to paste into a command prompt.

      • psud@aussie.zone
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        For someone who abuses it, there is a remarkable absence of em-dashes in your comment :—)