From 20098ee38ffbc9e186a1f536915245f7e283748b Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 14 Sep 2023 19:58:17 -0700 Subject: [PATCH 1/1] Readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9191498 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# uniqt + +Like `uniq -c`, but with time: + * Combine identical lines. + * Print each line prefixed with the time range over which it was seen. + +Example usage: + + $ yes getwindowfocus getwindowname sleep 1 | xargs -L 999 xdotool | uniqt -f '%F %T ' + 2023-09-14 19:50:29 2023-09-14 19:50:46 Terminal - s host 25 bash + 2023-09-14 19:50:47 2023-09-14 19:50:57 Terminal - s host 33 run flaky test locally + 2023-09-14 19:50:58 2023-09-14 19:51:11 Terminal - s host 25 bash + 2023-09-14 19:51:12 2023-09-14 19:52:20 AI#28: Watching and Waiting | Don't Worry About the Vase — Mozilla Firefox + ... -- 2.44.1