Skip to content
/ snore Public

Like sleep but prints a dot or countdown number every second so a long running sleep inside a script gives feedback and doesn't look stuck.

License

Notifications You must be signed in to change notification settings

FRex/snore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

snore

A small C program that works like sleep but prints 1 dot a second, and a newline after every 60th second/dot. Go to releases to download a 32-bit Windows exe or 64-bit statically linked Linux executable (made with musl).

Pass --countdown to use a single changing countdown number instead of dots. If the stdout is not interactive (not a tty as checked by isatty) then --countdown will print one line per second instead.

About

Like sleep but prints a dot or countdown number every second so a long running sleep inside a script gives feedback and doesn't look stuck.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages