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