↧
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 Articlecommand 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