Coder Social home page Coder Social logo

duplinesdet's Introduction

DupLinesDet

  • 一个可以快速检测文件中是否存在重复行的工具

使用方法

  1. Releases 处下载最新的 JAR

  2. 在含有本项目的 JAR 包的目录下运行下面任意命令, DuplicateLines.jarJAR 包文件名, file 为被检测文件

    java -jar "DuplicateLines.jar"
    java -jar "DuplicateLines.jar" "file"
  3. 若仅显示 File name: 请输入被检测文件名

自行构建

  1. git clone下载本项目源代码

  2. 运行 buildjar.sh

  3. 若无报错, build/DuplicateLines.jar 为构建的 JAR

提示信息

  • 正常退出

    退出代码 0

    info: 没有重复的行
    

  • 读取失败

    • 未输入文件名

      退出代码 1 或 提示重新输入

      warn: 文件名不能为空
      fatal: 文件名不能为空
      

    • 文件名或路径有误

      退出代码 1

      fatal: 无法读取文件 file
      

  • 文件为二进制文件

    退出代码 2

    fatal: 文件 file 是二进制文件
    

许可证

  • 本项目使用 MIT License 许可证

duplinesdet's People

Contributors

sessionhu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.