# distinct_go **Repository Path**: bryanchancq/distinct_go ## Basic Information - **Project Name**: distinct_go - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-18 - **Last Updated**: 2024-10-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # distinct命令去重 ## 使用方式 1. 通过管道符接受标准输入,对标准输入去重,输出标准输出重定向到新文件 - git log | distinct > distinct.log - cat xxx文件 | distinct > distinct.log - distinct < xxx.log 2. 通过-p的flag接受文件 - distinct -p xxx.log(相对路径或者全路径) ## 支持系统 - windows - Linux - MacOS(intel、apple silicon) ## 从bin目录获取二进制 ## 下载项目到本地(自己编译) - 执行build.sh 传入参数 windwos、macos arm | macos、linux - ./build.sh windows - ./build.sh macos arm - ./build.sh macos - ./build.sh linux