4 ms·
ls 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 n
by Lt_Riza_Hawkeye 7y ago
ls 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