Add which example

This commit is contained in:
Michiel Borkent 2020-04-12 21:13:33 +02:00
parent ed4fb6cd34
commit 61b7cb8321

View file

@ -1222,6 +1222,15 @@ example. If you get prompted with a login, use `admin`/`admin`.
<img src="assets/notes-example.png" width="400px">
### which
The `which` command re-implemented in Clojure. Prints the canonical file name.
``` shell
$ examples/which.clj rg
/usr/local/Cellar/ripgrep/11.0.1/bin/rg
```
## Thanks
- [adgoji](https://www.adgoji.com/) for financial support