uutils / uutils/coreutils

uutils' ls -l prints different "total" number than FreeBSD's bundled ls

Open
#6,871 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P - Other U - ls
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

This is on coreutils 0.0.28 on FreeBSD 14.2-BETA1.

nobody@amd64-142-default:/usr/ports/sysutils/rust-coreutils $ ls -l files
total 5
-rw-r--r--  1 nobody nogroup 306 Jun 27  2023 symlink-install-helper.sh.in
nobody@amd64-142-default:/usr/ports/sysutils/rust-coreutils $ uu-ls -l files
total 4
-rw-r--r-- 1 nobody nogroup 306 Jun 27  2023 symlink-install-helper.sh.in

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the mismatch on FreeBSD 14.2-BETA1 using the shown ls -l files and uu-ls -l files commands. Locate the ls implementation and determine why the reported total differs from FreeBSD's bundled ls; done means the two commands report the same total for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.