• fartographer@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      18 hours ago

      I prefer less until I find myself using less over and over again until I finally use cat so that I can just scroll up and review whatever I’m looking for.

      Is it the best or right way to do things? Nope, but it gets the job done just as good as anything else I do.

      And, it goes without saying, I do a terrible job of all of it.

        • jayands@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          10 hours ago

          The subtle difference is that your $SHELL is responsible for opening (and, iirc, parsing?) the file when you use \<, versus the $EDITOR being the responsible entity.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 hours ago

            Oh I get it now.
            Also, for some reason setting vi as $EDITOR, it is not able to load the contents of the file, unlike vim that does.