【问题标题】:Convert line-endlings for whole directory tree to \r\n将整个目录树的换行符转换为 \r\n
【发布时间】:2012-07-25 04:45:08
【问题描述】:

作为Convert line-endlings for whole directory tree (Git) 的问题,但是对于 Windows \r\n

仅文本文件(例如:.html、.css、.js、.php)

假设复杂的场景,例如具有混合行尾的文件(Unix 和 Windows)

【问题讨论】:

  • 您搜索或尝试过吗?链接的文章提供了线索 - 导致“tofrodos”。

标签: windows line-endings


【解决方案1】:

Here's findHere's unix2dos。同样的解决方案也适用。

【讨论】:

    猜你喜欢
    • 2011-10-27
    • 1970-01-01
    • 2021-12-26
    • 1970-01-01
    • 2023-01-24
    • 1970-01-01
    • 2023-03-19
    • 2016-06-16
    • 2021-08-27
    相关资源
    最近更新 更多