Timeline for Remove long string from files
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 13, 2015 at 22:16 | comment | added | Wildcard | I meant something simpler, in line with your original answer: grep -he '.\{10000\}' **/*.php | sort | uniq followed by the sed line you originally specified. I somehow thought you could use sed to simply print out lines like this; maybe not. | |
| Oct 13, 2015 at 22:06 | comment | added | glenn jackman | @Wildcard, how's that? | |
| Oct 13, 2015 at 22:06 | history | edited | glenn jackman | CC BY-SA 3.0 | test first |
| Oct 13, 2015 at 20:56 | comment | added | Wildcard | +1 for simplicity. I'd recommend printing the lines first and filtering it through uniq to obviate (make unnecessary) any assumptions about coding conventions. Not familiar enough with sed to say how to do that, but maybe you can edit your answer to say? | |
| Oct 13, 2015 at 20:47 | history | answered | glenn jackman | CC BY-SA 3.0 |