Hello, just trying to understand a subtlety of these commands.
returns the same thing asCode:ls | xargs grep "def"
I'm confused since wouldn't the first command fail as the input is a one-line string? And the first defaults by outputting the filenames whereas usually you need to specifiy -H.Code:ls | xargs -i grep -H "def" {}
Thank you
Bookmarks