Edit: Enough money as in buying a PC supporting windows 11

        • lseif@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          why not? it is clearer to read, and being more explicit when writing scripts can be safer, maybe not in this case, but if you echoed a variable without quotes, it could possibly expand as a glob

          • superbirra@lemmy.world
            cake
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            maybe not in this case, but we’re talking about this case. Quoting is needed when it’s needed, otherwise, well, is not needed. Rest assured zealotries tend to disappear the more time you’re exposed to this stuff ;) but in the meanwhile prepare yourself for some PR rejections should you ever work with me hahaha cheers

    • borf@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      I mean it’s good practice generally just in case, even when it’s not needed it makes it more maintainable

      I usually go with YAGNI but shell quoting can get to be a pain so I try to do it right in scripts or aliases

      But for a single one-off invocation lol definitely not quoting echo args