• smeg
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Genuine question: why not use grep, awk, sed, or any of the other gnu tools that can already do that?

    • colournoun@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You could, but maybe a good shell makes it easier than the external tool. Or maybe you use the shell to effectively combine the inputs and outputs of the other tools.

      • smeg
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I guess that’s convenient if you’re only ever on one machine, I prefer commands that work (almost) everywhere!

        • colournoun@beehaw.org
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Me too. I could never get into nushell or fish because they’re not posix and I don’t need to learn two ways to do something.

    • SWW13@lemmy.brief.guru
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That’s what I meant, using your shell to run command line tools to solve your issue at hand. And having a powerful shell with e.g. context dependend autocomplete (and a lot more) helps to speed up that task.