How to delete from a text file, all lines that contain a specific string?
How to delete from a text file, all lines that contain a specific string?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/667236/a-clockwork-orange)A Clockwork Orange |
(stackoverflow.com/users/207248/siegex)SiegeX |
(stackoverflow.com/users/586352/kurumi)kurumi |
(stackoverflow.com/users/901444/slashdottir)slashdottir |
(stackoverflow.com/users/1636759/kevin-nguyen)Kevin Nguyen |
(stackoverflow.com/users/55075/kenorb)kenorb |
A special thanks goes out to the (https://stackoverflow.com/questions/5410757/how-to-delete-from-a-text-file-all-lines-that-contain-a-specific-string)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
sed shell text-parsing in-place