Sort lines of text alphabetically or numerically. Use for data organization, list management, and text file preparation.
Sort lines of text alphabetically or numerically. Use for data organization, list management, and text file preparation.
Arrange text lines in alphabetical or numerical order. Supports case-insensitive sorting, reverse order, and unique line filtering.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: sort-lines-tool
description: Sort lines of text alphabetically or numerically. Use for data organization, list management, and text file preparation.
---
# Sort Lines - Line Sorting Tool
Arrange text lines in alphabetical or numerical order. Supports case-insensitive sorting, reverse order, and unique line filtering.
## Usage
```bash
sort-lines-tool [options] <file>
```
## Options
- `-n`: Numeric sort (instead of alphabetical)
- `-r`: Reverse order
- `-u`: Unique lines only
- `-f`: Case-insensitive sort
## Examples
```bash
sort-lines-tool names.txt
sort-lines-tool -n numbers.txt
sort-lines-tool -r data.txt
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。