Timeline for How do I perform xargs grep on grep output that has spaces?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 11, 2018 at 3:15 | history | edited | Adam Katz | CC BY-SA 4.0 | I preferr it less wrapped. perl doesn't need -n if given -p. offered more portable solution. |
| Mar 19, 2015 at 19:36 | comment | added | Adam Katz | @dhag has a valid point regarding xargs -d "\n". That's a very unusual occurrence, but if you don't have control of the data and are worried about it being a security risk, be careful about output expectations. | |
| Mar 19, 2015 at 19:10 | comment | added | dhag | This may not do the right thing if some of the file names include newlines (a rather unusual occurrence, for sure, but not impossible). | |
| Mar 19, 2015 at 18:50 | history | answered | Adam Katz | CC BY-SA 3.0 |