From: Scott Worley Date: Fri, 15 Sep 2023 02:58:17 +0000 (-0700) Subject: Readme X-Git-Tag: v1.0.0~2 X-Git-Url: http://git.scottworley.com/uniqt/commitdiff_plain/20098ee38ffbc9e186a1f536915245f7e283748b Readme --- 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 + ...