]>
Commit | Line | Data |
---|---|---|
20098ee3 SW |
1 | # uniqt |
2 | ||
3 | Like `uniq -c`, but with time: | |
4 | * Combine identical lines. | |
5 | * Print each line prefixed with the time range over which it was seen. | |
6 | ||
7 | Example usage: | |
8 | ||
9 | $ yes getwindowfocus getwindowname sleep 1 | xargs -L 999 xdotool | uniqt -f '%F %T ' | |
10 | 2023-09-14 19:50:29 2023-09-14 19:50:46 Terminal - s host 25 bash | |
11 | 2023-09-14 19:50:47 2023-09-14 19:50:57 Terminal - s host 33 run flaky test locally | |
12 | 2023-09-14 19:50:58 2023-09-14 19:51:11 Terminal - s host 25 bash | |
13 | 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 | |
14 | ... |