← 返回
开发者工具 中文

Sort

Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies.
Sort files, lines, and columns with custom ordering and dedup. Use when scanning duplicates, monitoring changes, reporting results, alerting anomalies.
ckchzh
开发者工具 clawhub v3.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 687
下载
💾 6
安装
2
版本
#latest

概述

sort

File & Text Sorting Tool.

Commands

lines

Sort lines (flags: -r reverse, -n numeric, -u unique)

scripts/script.sh lines <file> [-r] [-n] [-u]

csv

Sort CSV file by column number (1-based)

scripts/script.sh csv <file> <column>

json

Sort JSON array by a key

scripts/script.sh json <file> <key>

dedup

Remove duplicate lines (preserving order)

scripts/script.sh dedup <file>

shuffle

Randomly shuffle lines

scripts/script.sh shuffle <file>

rank

Rank/sort tabular data by a numeric column

scripts/script.sh rank <file> <column>

top

Show top N entries by column value

scripts/script.sh top <file> <column> [n]

freq

Frequency analysis — count occurrences of each line

scripts/script.sh freq <file>

stats

Show basic stats about the file content

scripts/script.sh stats <file>

Requirements

  • python3
  • jq (optional)

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Data Storage

Operation history is logged to ~/.local/share/sort/history.log for audit purposes.

版本历史

共 2 个版本

  • v3.0.2 当前
    2026-05-01 14:03 安全 安全
  • v1.0.2
    2026-03-20 02:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,786
content-creation

Short Drama Writer

ckchzh
短剧剧本生成器。竖屏短剧、微短剧、剧情设计、角色塑造。Short drama script generator for vertical video dramas, plot design, character building. 短剧脚本
★ 8 📥 3,496
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,837