开发者

Batch to find and replace

I need to replace all occurrences of a specific string with a blank space. More precisely, I need a batch file to find all "NaN" in a text file, and replace it with " " (a blank space). How can I do this?

开发者_StackOverflow中文版Bests

CB


if you can download stuff, you can use GNU sed example

sed -i.bak "s/NaN/ /g" file
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜