]>
description | uniq -c, but for time |
last change | Fri, 15 Sep 2023 03:13:05 +0000 (20:13 -0700) |
URL | https://git.scottworley.com/pub/git/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
...
2023-09-15 | Scott Worley | Release 1.0.0 master v1.0.0 | commit | commitdiff | tree | snapshot |
2023-09-15 | Scott Worley | License: GPL 3 | commit | commitdiff | tree | snapshot |
2023-09-15 | Scott Worley | Readme | commit | commitdiff | tree | snapshot |
2023-09-15 | Scott Worley | -f to specify time format | commit | commitdiff | tree | snapshot |
2023-09-15 | Scott Worley | Prompt output: Line-buffered | commit | commitdiff | tree | snapshot |
2023-09-15 | Scott Worley | Handle blank lines | commit | commitdiff | tree | snapshot |
2023-09-15 | Scott Worley | Begin | commit | commitdiff | tree | snapshot |
15 months ago | v1.0.0 | | commit | shortlog | log |
15 months ago | master | shortlog | log | tree |