How can i delete a line, if it's longer then e.g.: 2048 chars?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
Here's a solution which doesn't use extended regular expressions:
|
|||
|
|
|
Something like this should work in Python.
|
|||||||
|
