• aidan@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    24 days ago

    dsygraphia, I meant to say escape the quotes(you can see that because the comment wasn’t about comments but was instead about quotes)

    • dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 days ago

      It’s all good. If you’re using bash and readline to read the file, you can use sudo echo ${INPUT@Q} (assuming your variable is named $INPUT) to have bash escape things like the quotes and other characters that could get you into trouble.