Reverse the order of lines or characters in text input. Use for text transformation, palindrome checking, and data...
Reverse the order of lines or characters in text input. Use for text transformation, palindrome checking, and data reordering.
Reverse lines of text or characters within each line. Supports line-level reversal (last line first) and character-level reversal within lines.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: reverse-tool
description: Reverse the order of lines or characters in text input. Use for text transformation, palindrome checking, and data reordering.
---
# Reverse - Text Reversal Utility
Reverse lines of text or characters within each line. Supports line-level reversal (last line first) and character-level reversal within lines.
## Usage
```bash
reverse-tool [options] <file>
```
## Options
- `-c`: Reverse characters within each line (not lines)
- `-w`: Reverse word order within each line
## Examples
```bash
# Reverse line order
reverse-tool file.txt
# Reverse characters per line
reverse-tool -c palindrome.txt
# Pipe input
echo "hello world" | reverse-tool -c
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。