Timeline for Grep keep (output) entire .txt file if one line contains string
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 24, 2017 at 12:12 | comment | added | Olivier Dulac | a variant : grep -l "pattern" ./file*s | xargs cat . displays the (concatenated) entirety of all files that have at least 1 line matching "pattern" | |
| Nov 24, 2017 at 6:48 | history | edited | B Layer | CC BY-SA 3.0 | Added a bit more detail |
| Nov 23, 2017 at 22:54 | history | edited | B Layer | CC BY-SA 3.0 | added 30 characters in body |
| Nov 23, 2017 at 22:50 | history | edited | B Layer | CC BY-SA 3.0 | added 31 characters in body |
| Nov 23, 2017 at 22:45 | history | answered | B Layer | CC BY-SA 3.0 |