]> git.scottworley.com Git - uniqt/summary
 
descriptionuniq -c, but for time
last changeFri, 15 Sep 2023 03:13:05 +0000 (20:13 -0700)
readme

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
...
shortlog
2023-09-15 Scott WorleyRelease 1.0.0 master v1.0.0
2023-09-15 Scott WorleyLicense: GPL 3
2023-09-15 Scott WorleyReadme
2023-09-15 Scott Worley-f to specify time format
2023-09-15 Scott WorleyPrompt output: Line-buffered
2023-09-15 Scott WorleyHandle blank lines
2023-09-15 Scott WorleyBegin
tags
8 months ago v1.0.0
heads
8 months ago master