Skip to main content
added 75 characters in body
Source Link
evachristine
  • 2.7k
  • 11
  • 43
  • 57

I found a question about, how to remove lines longer then 2048 chars:

How to delete line if longer than XY?

Q: But how can I remove lines shorter then 4 chars? So remove lines that has 1 or 2 or 3 length in a file.

UPDATE: Thanks for the many GOOD answers, but I can only mark one as OK

I found a question about, how to remove lines longer then 2048 chars:

How to delete line if longer than XY?

Q: But how can I remove lines shorter then 4 chars? So remove lines that has 1 or 2 or 3 length in a file.

I found a question about, how to remove lines longer then 2048 chars:

How to delete line if longer than XY?

Q: But how can I remove lines shorter then 4 chars? So remove lines that has 1 or 2 or 3 length in a file.

UPDATE: Thanks for the many GOOD answers, but I can only mark one as OK

edited tags; edited title
Link
Hauke Laging
  • 94.8k
  • 21
  • 132
  • 185

How to remove lines shorter thenthan XY?

Source Link
evachristine
  • 2.7k
  • 11
  • 43
  • 57

How to remove lines shorter then XY?

I found a question about, how to remove lines longer then 2048 chars:

How to delete line if longer than XY?

Q: But how can I remove lines shorter then 4 chars? So remove lines that has 1 or 2 or 3 length in a file.