Bug 14491 - Support sort -h
Summary: Support sort -h
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-01 15:25 UTC by Kasper
Modified: 2022-01-05 11:06 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kasper 2022-01-01 15:25:25 UTC
with coreutils sort:
```
# or `du -h | sort -hr`
$ cat << EOF | sort -hr
320K  ./x1
412K  ./x2
2.6M  .
952K  ./x3
764K  ./x4
EOF
```

result:
```
2.6M  .
952K  ./x3
764K  ./x4
412K  ./x2
320K  ./x1
```
busybox doesn't support -h yet. would be nice to add it.
Comment 1 Denys Vlasenko 2022-01-05 11:06:41 UTC
Fixed in git