开发者

How to remove multi-line text pattern from all text files (recursively)?

开发者 https://www.devze.com 2023-03-11 15:38 出处:网络
I want to remove this pattern from all text files walking through the directories (recursively) with Windows batch script (.bat).

I want to remove this pattern from all text files walking through the directories (recursively) with Windows batch script (.bat).

How to do that?

Here's a 开发者_开发百科multi-line text pattern:

/* this is
a multi-line
pattern
*/


I'd say cmd isn't efficient enough to do that. Try python or some other a-bit-higher-language.

0

精彩评论

暂无评论...
验证码 换一张
取 消