lsd-rs / lsd-rs/lsd

[Feature Request] Case-sensitive sorting

Open
#1,111 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.2k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

Please add a switch for case-sensitive sorting. Most UNIX filesystems are case-sensitive, not being able to sort lists of filenames as case-sensitive breaks scripting.

[Eza](https://github.com/eza-community/eza) has a nice idiom for this, `--sort Name` and `--sort Extension` are case-sensitive, while `--sort name` and `--sort extension` are case-insensitive.

Contributor guide

No contributing guide indexed for this repository

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

No file or test path is named in the issue. Start by tracing the CLI sorting option and the existing filename sort implementation; done means supporting distinct case-sensitive and case-insensitive name and extension sorting as described, with coverage for both modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.