blainepruitt
Technical User
Greetings all,
I have a large log file that I would like to clean up. In order this I am using vi and doing a search for a string, but I would like to delete the next 52 lines after it finds that string. I could have sworn I found documentation about this in the past. Does anyone know if this can be done, and if so how I would go about handling it? I've done some searches on the internet but I can't seem to find anything that fits my query.
Thanks in advance for any help you can provide.
-bp
I have a large log file that I would like to clean up. In order this I am using vi and doing a search for a string, but I would like to delete the next 52 lines after it finds that string. I could have sworn I found documentation about this in the past. Does anyone know if this can be done, and if so how I would go about handling it? I've done some searches on the internet but I can't seem to find anything that fits my query.
Thanks in advance for any help you can provide.
-bp