• swicano@programming.dev
    link
    fedilink
    arrow-up
    17
    ·
    2 days ago

    The video I saw was saying cat into grep is totally fine in day to day life do whatever comes out of your fingertips naturally, but if you’re making a bash script for others to use, use grep args because cat pipe grep can do some strange stuff with error handling. Which I have no experience with, but sounds reasonable