Timeline for In Grep, how can I `grep -r --exclude build/lib/**/*.py`
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 9 at 7:58 | comment | added | Stéphane Chazelas | That assumes (the last command at least) that file paths don't contain blanks, newlines, single quotes, double quotes, backslashes, that they're made of valid text in the user's locale and the GNU implementation of grep (or compatible) for that -H. grep works on lines not file paths, find's output is not post-processable without -print0 and xargs is unreliable unless used with -0 (and you generally also want to use -r) | |
| Aug 16 at 14:43 | history | edited | Ed Morton | CC BY-SA 4.0 | added 25 characters in body |
| Aug 16 at 14:34 | history | edited | Ed Morton | CC BY-SA 4.0 | added 75 characters in body |
| Aug 16 at 14:28 | history | answered | Ed Morton | CC BY-SA 4.0 |