# fmt-lf **Repository Path**: ulyan/fmt-lf ## Basic Information - **Project Name**: fmt-lf - **Description**: 一个简易实用的命令行程序,用语规范文件的换行符,将 CRLF 和 CR 换行符都变成 LF。 - **Primary Language**: Unknown - **License**: MPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-19 - **Last Updated**: 2022-07-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # fmt-lf ## 介绍 一个简易实用的命令行程序,用语规范文件的换行符,将 CRLF 和 CR 换行符都变成 LF。 ## 安装教程 请安装 Rust 构建工具 Cargo: https://www.rust-lang.org/tools/install 进入工程根目录,并执行构建命令: ```shell $ cargo build --release ``` ## 使用说明 命令格式: ```shell $ fmt-lf <文件名> [<文件名> ...] ``` 例如: ```shell $ fmt-lf main.c hello.c ```