3 ms·
that's fairly cool. Wish such sites were available for more open source packages. Always wanted to know the algorithms used in sort. So ls has more source li
by nn3 7y ago
that's fairly cool. Wish such sites were available for more open source packages.
Always wanted to know the algorithms used in sort.
So ls has more source lines than sort? Funny, but a bit depressing too.
- Lt_Riza_Hawkeye 7y agols is kind of complicated, has a billion flags, and has to print pretty so it has to do some ioctls to get the terminal width and such, then column things out nicely so they don't overflow. Glad I'm not implementing ls from scratch.
- michaelmior 7y agoexa[0] dubs itself a "modern" ls written in Rust. Interesting to compare. Still over 6,000 lines not including comments. [0] https://github.com/ogham/exa https://github.com/ogham/exa