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
版权
版权所有©Dimitris Zlatanidis