← 返回
未分类 中文

Tr Tool

Translate or delete characters from input streams. Use for character substitution, deletion, and squeezing repeated characters.
对输入流中的字符进行转换或删除,用于字符替换、删除和压缩重复字符。
dinghaibin dinghaibin 来源
未分类 clawhub v1.0.0 1 版本 99685.5 Key: 无需
★ 0
Stars
📥 317
下载
💾 0
安装
1
版本
#latest

概述

Tr - Character Translation Utility

Translate, squeeze, or delete characters from standard input. Replaces specified characters with alternatives or removes them entirely.

Usage

tr-tool [options] <set1> [set2]

Common Uses

  • 'a-z' 'A-Z': Convert lowercase to uppercase
  • '\n' ' ': Replace newlines with spaces
  • -d 'aeiou': Delete all vowels
  • -s ' ': Squeeze repeated spaces

Examples

echo "hello" | tr-tool 'a-z' 'A-Z'
echo "foo bar" | tr-tool -d ' '
echo "hello   world" | tr-tool -s ' '

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 03:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Automation Workflow

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

Unexpand Tool

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

Schedule Task

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