bup-tick(1)
π bup-tick β wait for up to one second π
okay bestie, welcome to bup-tick(1) from the General Commands Manual β¨ it's a tiny little cutie and honestly? iconic.
β¨ NAME β¨
bup-tick β wait for up to one second π
πΈ SYNOPSIS πΈ
bup tick
that's it. that's the whole thing. no flags, no drama, just vibes. π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea: bup tick just sits there and waits until time(2) hands back a different value than the one it started with. and because time() has a granularity of one second, this means you might be waiting up to one whole second. like, yes, a whole second, in this economy π
now why would you ever want that? main character behavior, that's why: this program is useful for writing tests that need to make sure a file date will actually be seen as modified. periodt. π
and here's the flex β it's slightly better than sleep(1) because sometimes it waits for less than one second. not always. but sometimes. and that sometimes is what we call β¨efficiencyβ¨ ngl.
lowkey the whole point: time() only changes once per second, so you're basically waiting for the clock to go 16:59:58 β‘οΈ 16:59:59 and then you're free ποΈ
π₯ EXAMPLES π₯
run it like this, bestie:
$ date; bup tick; date
Sat Feb 6 16:59:58 EST 2010
Sat Feb 6 16:59:59 EST 2010
see how it went from 58 to 59? that's the tick. the clock ticked. we love to see it ππ
π BUP π
It's part of the bup(1) suite. family reunion fr fr π«
π AUTHORS π
Avery Pennarun β apenwarr@gmail.com π
and that's a wrap, bestie! this page came from Bup 0.34, dated 2026-09-01, and it lives in the manual as bup-tick(1). go tick that clock, you've got this ππΈβ¨
π¦ where this page comes from
- fedora 44: bup 0.34-1.fc44 Β· LGPL-2.0-only
- nixpkgs unstable: bup 0.34
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms