Skip to content

SI Kilobyte should be written as "kB", not "KB"ย #8872

Closed
@fergusq

Description

Describe the bug

The SI prefix kilo is abbreviated with a lower case "k", not "K".

Many systems use "kB" for SI kilobytes and "KB" for kibibytes. Writing SI kilobytes as "KB" is thus very confusing. The standard way which avoids confusion is to use "kB" and "KiB".

How to reproduce

Use any command that outputs file sizes such as ls.

Expected behavior

Kilobytes should be written as "kB"

Screenshots

No response

Configuration

key value
version 0.78.0
branch
commit_hash
build_os macos-aarch64
build_target aarch64-apple-darwin
rust_version rustc 1.68.2 (9eb3afe9e 2023-03-27) (built from a source tarball)
cargo_version cargo 1.68.1 (6feb7c9cf 2023-03-26)
build_time 2023-04-04 18:47:00 +00:00
build_rust_channel release
features default, zip
installed_plugins

Additional context

No response

Metadata

Assignees

No one assigned

    Labels

    polishthis problem makes nu feel unpolished

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions