From e564702784cfa85071e73947ebf9aaaf2d535d7a Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Mon, 19 Feb 2024 16:43:27 +0000 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 58e880b..9221e29 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,16 @@ tl access.log* --merge In the app, press **f1** for additional help. +### Piping + +In addition to specifying files, you can also pipe directly into `tl`. +This means that you can tail data that comes from another process, and not neccesarily a file. +Here's an example of piping output from the `tree` command in to Toolong: + +```bash +tree / | tl +``` + ## Who? This [guy](https://github.com/willmcgugan). An ex web developer who somehow makes a living writing terminal apps.