• froztbyte@awful.systems
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 hours ago

      (I don’t mean to take aim at you with this despite how irked it’ll sound)

      I really fucking hate how many computer types go “ugh I can’t” at regex. the full spectrum of it, sure, gets hairy. but so many people could be well served by decently learning grouping/backrefs/greedy match/char-classes (which is a lot of what most people seem to reach for[0])

      that said, pomsky is an interesting thing that might in fact help a lot of people go from “I want $x” as a human expression of intent, to “I have $y” as a regex expression

      [0] - yeah okay sometimes you also actually need a parser. that’s a whole other conversation. I’m talking about “quickly hacking shit up in a text editor buffer in 30s” type cases here

      • swlabr@awful.systems
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        3 hours ago

        Hey. I can do regex. It’s specifically grep I have beef with. I never know off the top of my head how to invoke it. Is it -e? -r? -i? man grep? More like, man, get grep the hell outta here!

          • swlabr@awful.systems
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 hours ago

            If I start using this and add grep functionality to my day-to-day life, I can’t complain about not knowing how to invoke grep in good conscience, dawg. I can’t hold my shitposting back like that, dawg!

            jk that looks useful. Thanks!

            • lagoon8622@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 hours ago

              The cheatsheet and tealdeer projects are awesome. It’s one of my (many) favorite things about the user experience honestly. Really grateful for those projects

        • froztbyte@awful.systems
          link
          fedilink
          English
          arrow-up
          7
          ·
          3 hours ago

          now listen, you might think gnu tools are offensively inconsistent, and to that I can only say

          find(1)

          • swlabr@awful.systems
            link
            fedilink
            English
            arrow-up
            8
            ·
            3 hours ago

            find(1)? You better find(1) some other place to be, buster. In this house, we use the file explorer search bar