dpline是从文件中删除重复行的工具

dpline的Python项目详细描述


     _       _ _
  __||____ |(_)____   ___
 / _  |  _ \|||  _ \ / _ \
|(_|||_)||||||  __/
 \____|  __/|_|_|_||_|\___||_|
____________________________
____________________________

关于

从文本文件中删除重复行的cli工具。

安装

$ tar xvf dpline-<version>.tar.gz
$ cd dpline-<version>
$ python setup.py install


or via pip:

$ pip install dpline --upgrade

uninstall:

$ pip uninstall dpline

命令行工具使用

Usage: dpline [OPTION] <file> [--ignore-blank, [--case-ins],
                              [--number]]

dpline is tool to remove duplicate lines from file

Optional arguments:
  -h, --help          Print this help message and exit
  -v, --version       Print program version and exit
  -d, --display       Display removed lines
  -p, --preview       Preview duplicate lines before removal
  --ignore-blank      Ignore blank lines from remove
  --case-ins          Matching upper- and lowercase letters
  --number            View duplicate line number

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java测试SpringAOP方面   java在使用groovy访问JSON字段时遇到问题   java需要但没有被调用:<Capturing argument>实际上,与这个mock没有任何交互   java在O(n)时间内遍历LinkedList并删除k个元素   java在Hibernate中执行条件查询后,是否需要提交/关闭会话?   java提供apacheshiro作为JBoss7、WildFly8的模块   使用标头读取CSV,同时忽略JAVA中的某些行   java如何验证kotlin中的数据类是否为null   java墙纸未缩放到设备的显示   java以独立于实现的方式列出所有注册的JAXRS 2提供程序   java Apache ANT Exec Handle Exec/CakePHP控制台提示   java无法从dropwizard项目中排除logbackclassic依赖项   java如何通过对象向构造函数发送日期值,以及如何返回该日期值?   java为什么使用静态记录器比不使用它花费更多的时间   JavaAndroid:解析webview的内容而不重新加载和发布   java如何仅捕获异常类型   eclipse无法从Java独立项目中的ATL EMFTVM转换中读取模块   另一个路由中的java Apache camel blueprint web服务响应