← 返回
未分类 中文

Unexpand Tool

Convert spaces to tabs in text files. Use for consistent indentation and reducing file size by replacing spaces with tabs.
将文本文件中的空格转为制表符,保持统一缩进并减小文件大小。
dinghaibin
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 359
下载
💾 0
安装
1
版本
#latest

概述

Unexpand - Space to Tab Converter

Replace sequences of spaces with tab characters. The inverse operation of expand-tool. Ideal for converting space-indented code to tab-indented format.

Usage

unexpand-tool [options] <file>

Options

  • -t N: Set tab width in spaces (default: 8)
  • -a: Convert all spaces, not just leading
  • --first-only: Only convert leading sequences

Examples

unexpand-tool -t 4 file.py
unexpand-tool -a -t 2 data.txt
cat spaces.txt | unexpand-tool

版本历史

共 1 个版本

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

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Xxd Tool

dinghaibin
创建二进制文件的十六进制转储,将转储恢复为二进制,并进行位级分析与修补。适用于逆向工程、二进制分析等关键任务。
★ 0 📥 354

Schedule Task

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

Datetime Tool

dinghaibin
全面的日期时间操作工具包,支持多种格式、时区转换、日历计算、自然语言解析以及日期...
★ 0 📥 396