← 返回
未分类 中文

Uniq Tool

Report or filter repeated lines in sorted text. Use for deduplication, frequency counting, and data cleanup.
在已排序的文本中报告或过滤重复行,用于去重、频次统计和数据清理。
dinghaibin dinghaibin 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 294
下载
💾 0
安装
1
版本
#latest

概述

Duplicate Line Filter

Remove or count consecutive duplicate lines from sorted input. Works best with pre-sorted data using sort-tool.

Usage

uniq-tool [options] [input_file [output_file]]

Options

  • -c: Count occurrences of each line
  • -d: Only show duplicate lines
  • -u: Only show unique (non-duplicate) lines
  • -i: Case-insensitive comparison

Examples

# Remove adjacent duplicates
uniq-tool sorted.txt

# Count occurrences
uniq-tool -c sorted.txt

# Only show duplicates
uniq-tool -d sorted.txt

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 13:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Unexpand Tool

dinghaibin
将文本文件中的空格转为制表符,保持统一缩进并减小文件大小。
★ 0 📥 389

Schedule Task

dinghaibin
在 Linux/Unix 系统上调度和运行周期性任务。适用于设置 cron 作业、定时备份、周期性数据同步、自动报告等场景。
★ 0 📥 407

Automation Workflow

dinghaibin
创建并管理自动化工作流,以处理重复性任务。适用于需要安排周期性数据同步、链式API调用、设置触发动作等场景。
★ 0 📥 374