on master help sign in
Add "Integration with other tools" section
commit8470fd7173c6be28c85d1202baac254093522bfe authorDavid Peter <sharkdp@users.noreply.github.com> dateMon 11 Feb 2019, 21:38 (8 years ago) parent76b7418
1 file changed+14
README.md+14
README.md+14
@@ -91,6 +91,20 @@ bat -n main.rs # show line numbers (only)
9191bat f - g # output 'f', then stdin, then 'g'.
9292```
9393
94+### Integration with other tools
95+
96+#### `find` or `fd`
97+
98+You can use the `-exec` option of `find` to preview all search results with `bat`:
99+```bash
100+find … -exec bat {} +
101+```
102+
103+If you happen to use [`fd`](https://github.com/sharkdp/bat), you can use the `-X`/`--exec-batch` option to do the same:
104+```bash
105+fd … -X bat
106+```
107+
94108## Installation
95109
96110### On Ubuntu