Quantcast
Browsing all 2 articles
Browse latest View live

Answer by Zanna for command to remove specific string from multiple files

You can achieve this rather easily with sed which can happily look into multiple filessed '/D PRINT/d' dash7/*/D PRINT/ find a line with D PRINTd delete the linedash7/* look in all the files in the...

View Article


command to remove specific string from multiple files

I have a directory dash7/ which contains multiple text files and I want to remove all lines containing the string D PRINT from all those files. How can I do that easily from the command-line?

View Article

Browsing all 2 articles
Browse latest View live