This commit is contained in:
Hamcha 2020-01-23 11:32:03 +00:00
parent 3eb7db205b
commit cfe0e7c18b

View file

@ -4,17 +4,18 @@
- **OG**: Original tool
- **Better**: Better tool to use
- **Lang**: Language the tool is written in
- **Multi**: Works on all major platforms (Windows, Linux, Mac, *BSD)
- **Multi**: Works on all major platforms (Windows, Linux, Mac, \*BSD)
| What | OG | Better | Lang | Multi | How to install |
| ------------------------- | ----- | --------- | ---- | ------------- | ---------------------------------- |
| ------------------------- | -------- | --------- | ---- | ------------- | ---------------------------------- |
| Find text in files | grep | [ripgrep] | Rust | ✔️ | `cargo install ripgrep` |
| List files in a directory | ls | [exa] | Rust | ❌<sup>1</sup> | `cargo install exa` |
| Read file content | cat | [bat] | Rust | ✔️ | Package manager (+ choco) |
| Find files by name | find | [fzf] | Go | ✔️ | Package manager (+ choco) |
| Count lines of code | cloc | [loc] | Rust | ✔️ | `cargo install loc` |
| Navigate/manipulate JSON | *N/A* | [jq] | C | ✔️ | Package manager (+ choco) |
| Navigate/manipulate HTML | *N/A* | [pup] | Go | ✔️ | `go get github.com/ericchiang/pup` |
| Navigate/manipulate JSON | _N/A_ | [jq] | C | ✔️ | Package manager (+ choco) |
| Navigate/manipulate HTML | _N/A_ | [pup] | Go | ✔️ | `go get github.com/ericchiang/pup` |
| Static file server | _[many]_ | [sfz] | Rust | ✔️ | `cargo install sfz` |
[ripgrep]: https://github.com/BurntSushi/ripgrep
[loc]: https://github.com/cgag/loc
@ -23,5 +24,7 @@
[pup]: github.com/ericchiang/pup
[fzf]: https://github.com/junegunn/fzf
[exa]: https://the.exa.website/
[many]: https://gist.github.com/willurd/5720255
[sfz]: https://github.com/weihanglo/sfz
1. `exa` doesn't compile on Windows