From a6abd556631ae9bd642e26f6e6f0cad4643da69e Mon Sep 17 00:00:00 2001 From: ynqa Date: Sun, 2 Jun 2024 00:19:17 +0900 Subject: [PATCH] update readme about retry --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ed4006e..0492ee1 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,14 @@ Interactive grep - Interactive grep (for streaming) - *sig* allows users to interactively search through (streaming) data, updating results in real-time. +- Re-execute command + - If `--cmd` is specified instread of piping data to *sig*, + the command will be executed on initial and retries. + - This feature is designed to address the issue where data streams + past while the user is fine-tuning the search criteria. + In other words, even if the data has already passed, + executing the command again allows + the retrieval of the data for re-evaluation. - Archived mode - In archived mode, since there is no seeking capability for streaming data received through a pipe, @@ -84,6 +92,7 @@ in | Key | Action | :- | :- | Ctrl + C | Exit `sig` +| Ctrl + R | Retry command if `--cmd` is specified | Ctrl + F | Enter Archived mode | | Move the cursor one character to the left | | Move the cursor one character to the right @@ -122,6 +131,8 @@ Options: Archived mode to grep through static data. -i, --ignore-case Case insensitive search. + --cmd + Command to execute on initial and retries. -h, --help Print help (see more with '--help') -V, --version