sed 可以在 Windows 中递归吗?
我正在使用 sed for windows 来搜索和替换一些 javascript 文件,并且我想知道是否使用其他实用程序可以使其递归工作。
I'm using sed for windows to do search and replace on some javascript files, and I was wondering if using some other utility I could make it work recursively.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以,使用
for
循环与dir /s
结合使用,或者您可以使用 针对 Windows 查找。例如yes you can, either use a
for
loop coupled withdir /s
, or you can use find for windows. eg