How do I remove lines that have more than one of a certain character in them?
I have a file with a few thousand lines and I'd like to remove all the lines that have more than 1 asterik (the * character) in it. So if it has 2 or more in a single line, I'd like the line removed (double d command in vi)
|
Quote:
Code:
:g/\*.*\*/d |
Quote:
|
All times are GMT -5. The time now is 09:17 PM. |