Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ BusyBox 承载了嵌入式 Linux 的半壁江山。IdleBox 希望以现代语言
| `dirname` | 去除名称的最后一个组成部分 | 支持多个操作数与 NUL 分隔输出 |
| `cat` | 连接文件并输出到标准输出 | 支持 `-n` 行号、`-b` 非空行号、`-A` 显示不可见字符、stdin 管道 |
| `ls` | 列出目录内容 | **ANSI 炫彩输出**:目录蓝色、可执行文件绿色、压缩包红色、链接青色;支持 `-l` 长格式、`-a` 隐藏文件、`-h` 人类可读大小 |
| `tree` | 以树状结构列出目录内容 | 连接线布局,`--charset` 切换 UTF-8/ASCII,`-L` 限制层级,`-P`/`-I` 可重复且支持 `*`、`?`、`[set]`、`[^set]`、范围与 `|` 分支,`-s`/`-h`/`-p`/`-u`/`-g`/`-D`(UTC)元数据列,`--dirsfirst`/`-r`/`-t` 排序,支持 JSON(`-J`)、XML(`-X`)、HTML(`-H`)输出,`-o` 先暂存再发布 |
| `tree` | 以树状结构列出目录内容 | 连接线布局,`--charset` 切换 UTF-8/ASCII,`-a` 显示隐藏项,`-d` 只列目录,`-L` 限制层级,`-P`/`-I` 可重复且支持 `*`、`?`、`[set]`、`[^set]`、范围与 `|` 分支,`-f` 完整路径前缀,`-i` 无缩进输出,`-F` 类型指示符,`-s`/`-h`/`-p`/`-u`/`-g`/`-D`(UTC)元数据列,`--dirsfirst`/`-r`/`-t` 排序,`-C` 彩色输出,支持 JSON(`-J`)、XML(`-X`)、HTML(`-H`)输出,`--noreport` 省略汇总行,`-o` 先暂存再发布 |
| `mkdir` | 创建目录 | 支持 `-p` 嵌套创建、一次创建多个目录 |
| `rm` | 删除文件或目录 | 支持 `-r` 递归、`-f` 强制、组合 `-rf` |
| `cp` | 复制文件与目录 | 支持 `-r` 递归、`-f` 强制、多源复制到目标目录 |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The current stage focuses on making IdleBox itself better first: preserving flex
| `dirname` | Strip the last component from names | Multiple operands and NUL-separated output |
| `cat` | Concatenate files and print to standard output | Supports `-n` line numbers, `-b` non-blank numbering, `-A` show invisibles, stdin pipe |
| `ls` | List directory contents | **ANSI colorized output**: dirs in blue, executables in green, archives in red, symlinks in cyan; supports `-l` long format, `-a` hidden files, `-h` human-readable sizes |
| `tree` | List directory contents in a tree-like format | Connector-glyph layout with `--charset` UTF-8/ASCII, `-L` depth, repeatable `-P`/`-I` patterns (`*`, `?`, `[set]`, `[^set]`, ranges, `|` alternation), `-s`/`-h`/`-p`/`-u`/`-g`/`-D` (UTC) columns, `--dirsfirst`/`-r`/`-t` sorting, JSON (`-J`), XML (`-X`) and HTML (`-H`) output, and an `-o` that stages before it publishes |
| `tree` | List directory contents in a tree-like format | Connector-glyph layout with `--charset` UTF-8/ASCII, `-a` hidden entries, `-d` dirs only, `-L` depth, repeatable `-P`/`-I` patterns (`*`, `?`, `[set]`, `[^set]`, ranges, `|` alternation), `-f` full-path prefixes, `-i` indent-free output, `-F` type indicators, `-s`/`-h`/`-p`/`-u`/`-g`/`-D` (UTC) columns, `--dirsfirst`/`-r`/`-t` sorting, `-C` colorized output, JSON (`-J`), XML (`-X`) and HTML (`-H`) output, `--noreport` count suppression, and an `-o` that stages before it publishes |
| `mkdir` | Create directories | Supports `-p` for nested creation, multiple directories in one call |
| `rm` | Remove files or directories | Supports `-r` recursive, `-f` force, combined `-rf` |
| `cp` | Copy files and directories | Supports `-r` recursive, `-f` force, multi-source to directory |
Expand Down