sharkdp / shell-functools

Functional programming tools for the shell
MIT License
1.2k stars 49 forks source link

Implement sort_by_key command #17

Closed guilhermeleobas closed 6 years ago

guilhermeleobas commented 6 years ago

Hi, @sharkdp

I've implemented the new command sort_by_key as suggested in #2. The changes are:

1) Implement filesize and file_ext functions 2) Add comparison operators for TypedValue class 3) Implement sort_by_key command

Can you check if I did everything correctly?

Regards

sharkdp commented 6 years ago

This looks great, thank you very much!

I will take a closer look in a few days when I am back home.

sharkdp commented 6 years ago

Thanks again!