Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort by human readable size? #278

Open
tddschn opened this issue Sep 13, 2021 · 0 comments
Open

Sort by human readable size? #278

tddschn opened this issue Sep 13, 2021 · 0 comments

Comments

@tddschn
Copy link

tddschn commented Sep 13, 2021

How do I sort columns by human readable size like sort:
-h, --human-numeric-sort compare human readable numbers (e.g., 2K 1G)?

Try this csv input:

REPOSITORY,TAG,IMAGE ID,CREATED,SIZE
node,12-buster-slim,9b63ce5727ab,10 days ago,155MB
mysql,5.7,1d7aba917169,10 days ago,448MB
node,12-alpine,b30595aabe53,12 days ago,89MB
buildpack-deps,bionic,c6458e9c218d,13 days ago,622MB
ubuntu,latest,fb52e22af1b0,13 days ago,72.8MB
alpine,latest,14119a10abf4,2 weeks ago,5.6MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant