• biribiri11@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    6 months ago

    In the back of my mind I know this is there, but the cat | grep pattern is just muscle memory at this point

    • allywilson@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      I’ve been ‘told off’ so many times by the internet for my cat and grep combos that I still do it, then I remove the cat, it still works, and I feel better. shrug

    • expr
      link
      fedilink
      arrow-up
      3
      ·
      6 months ago

      Just remember that if you aren’t actually concatenating files, cat is always unnecessary.