| Summary: | sys-apps/coreutils-9.1-r2: "ls" - not work reverse order while sorting (--reverse) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | globus <yoric-k> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | ionen |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge.info | ||
|
Description
globus
2023-04-14 10:53:05 UTC
Created attachment 860097 [details]
emerge.info
I tried with same version but can't reproduce.
Maybe try running `ls --version` just to be sure it's not running a different ls?
Also, what filesystem is this on? (I don't think it should be related, but just in case)
For me:
$ touch 1.test ; touch 2.test ; touch 3.test ; touch 4.test
$ ls
1.test 2.test 3.test 4.test
$ ls -r
4.test 3.test 2.test 1.test
$ ls --version
ls (GNU coreutils) 9.1
Packaged by Gentoo (9.1-r2 (p0))
Also did you get this backward? The former is in reverse, so it's normal.
Actual Results:
4.test 3.test 2.test 1.test
Expected Results:
1.test 2.test 3.test 4.test
Sorry, I made a mistake. I didn't take into account that the key in aliases is -U. Without an alias, it worked as it should. I'm very, very sorry. The bug can be closed. No worries, thank you for coming back and explaining :) |