Skip to content

rtk ls return (empty) if locale is not C #1715

@yangjuncode

Description

@yangjuncode
[yj@yj-code01 rtk-master]$ ls -la
总计 280
drwxr-xr-x 12 yj   yj     660  4月29日 11:48 .
drwxrwxrwx  6 root root   160  5月 5日 11:37 ..
-rw-r--r--  1 yj   yj    2372  4月29日 11:48 build.rs
-rw-r--r--  1 yj   yj   48140  4月29日 11:48 Cargo.lock
-rw-r--r--  1 yj   yj    1642  4月29日 11:48 Cargo.toml
-rw-r--r--  1 yj   yj   81802  4月29日 11:48 CHANGELOG.md
drwxr-xr-x  7 yj   yj     140  4月29日 11:48 .claude
-rw-r--r--  1 yj   yj    7406  4月29日 11:48 CLAUDE.md
-rw-r--r--  1 yj   yj   14205  4月29日 11:48 CONTRIBUTING.md
-rw-r--r--  1 yj   yj    2206  4月29日 11:48 DISCLAIMER.md
drwxr-xr-x  6 yj   yj     140  4月29日 11:48 docs
drwxr-xr-x  2 yj   yj      60  4月29日 11:48 Formula
drwxr-xr-x  4 yj   yj     160  4月29日 11:48 .github
-rw-r--r--  1 yj   yj     503  4月29日 11:48 .gitignore
drwxr-xr-x 11 yj   yj     240  4月29日 11:48 hooks
-rw-r--r--  1 yj   yj   11572  4月29日 11:48 INSTALL.md
-rw-r--r--  1 yj   yj    3698  4月29日 11:48 install.sh
-rw-r--r--  1 yj   yj   10767  4月29日 11:48 LICENSE
drwxr-xr-x  2 yj   yj     120  4月29日 11:48 openclaw
-rw-r--r--  1 yj   yj    5435  4月29日 11:48 README_es.md
-rw-r--r--  1 yj   yj    6665  4月29日 11:48 README_fr.md
-rw-r--r--  1 yj   yj    5870  4月29日 11:48 README_ja.md
-rw-r--r--  1 yj   yj    5395  4月29日 11:48 README_ko.md
-rw-r--r--  1 yj   yj   21046  4月29日 11:48 README.md
-rw-r--r--  1 yj   yj    5315  4月29日 11:48 README_zh.md
-rw-r--r--  1 yj   yj     181  4月29日 11:48 release-please-config.json
-rw-r--r--  1 yj   yj      20  4月29日 11:48 .release-please-manifest.json
drwxr-xr-x  2 yj   yj      60  4月29日 11:48 .rtk
drwxr-xr-x  4 yj   yj     300  4月29日 11:48 scripts
-rw-r--r--  1 yj   yj    7526  4月29日 11:48 SECURITY.md
-rw-r--r--  1 yj   yj    3573  4月29日 11:48 .semgrep.yml
drwxr-xr-x 10 yj   yj     220  4月29日 11:48 src
drwxr-xr-x  3 yj   yj      60  4月29日 11:48 tests
[yj@yj-code01 rtk-master]$ rtk ls -la
(empty)
[yj@yj-code01 rtk-master]$ LC_ALL=C rtk ls -la
.claude/
.github/
.rtk/
Formula/
docs/
hooks/
openclaw/
scripts/
src/
tests/
.gitignore  503B
.release-please-manifest.json  20B
.semgrep.yml  3.5K
CHANGELOG.md  79.9K
CLAUDE.md  7.2K
CONTRIBUTING.md  13.9K
Cargo.lock  47.0K
Cargo.toml  1.6K
DISCLAIMER.md  2.2K
INSTALL.md  11.3K
LICENSE  10.5K
README.md  20.6K
README_es.md  5.3K
README_fr.md  6.5K
README_ja.md  5.7K
README_ko.md  5.3K
README_zh.md  5.2K
SECURITY.md  7.3K
build.rs  2.3K
install.sh  3.6K
release-please-config.json  181B

Summary: 21 files, 10 dirs (12 .md, 2 .json, 1 .sh, 1 .rs, 1 .yml, +4 more)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions