alias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 4 days agocat posttitle.txt | grep memelemmy.worldimagemessage-square46linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imagecat posttitle.txt | grep memelemmy.worldalias_qr_rainmaker@lemmy.world to linuxmemes@lemmy.world · 4 days agomessage-square46linkfedilink
minus-squareIngeniousRocks (They/She) @lemmy.dbzer0.comlinkfedilinkarrow-up0·4 days agoGrep can accept input from stdin as with a piped cat, but I it can also just call the file directly. In 99.999% obviously made up stat is obvious of situations its fine. The real issue is a piped cat into grep will fork the process. Why open two process threads when one would do the job?
minus-squarewitty_username@feddit.nllinkfedilinkarrow-up0·4 days agoWhat the fork is this forking shirt? Soz I read your comment as if it were from the good place.
Grep can accept input from stdin as with a piped cat, but I it can also just call the file directly.
In 99.999% obviously made up stat is obvious of situations its fine.
The real issue is a piped cat into grep will fork the process. Why open two process threads when one would do the job?
What the fork is this forking shirt?
Soz I read your comment as if it were from the good place.