sleepenh - Sleep until a given date with subsecond resolution

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main i386
Package filename sleepenh_1.7-1_i386.deb
Package name sleepenh
Package version 1.7
Package release 1
Package architecture i386
Package type deb
Category implemented-in::c interface::commandline role::program scope::utility use::timekeeping utils
Homepage -
License -
Maintainer Nicolas Schier <>
Download size 8.97 KB
Installed size 30.00 KB
sleepenh is a sleep program for shell scripts that need to
perform a loop that repeats at a regular time interval, without
cumulative errors.
It supports microsecond resolution.
You can also specify the time you need between two calls
of sleepenh.
Here follows an usage example to clarify its purpose. This
example sends 'A' to ttyS0 every 1.2 seconds.
# does not wait (or wait 0), just to get initial timestamp
TIMESTAMP=$(sleepenh 0)
while true; do
# send the byte to ttyS0
echo -n "A" > /dev/ttyS0;
# wait until the required time
TIMESTAMP=$(sleepenh $TIMESTAMP 1.200);
For more details, please read the manpage.


Package Version Architecture Repository
sleepenh_1.7-1_amd64.deb 1.7 amd64 Debian Main
sleepenh - - -


Name Value
libc6 >= 2.3.4


Type URL
Binary Package sleepenh_1.7-1_i386.deb
Source Package sleepenh

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install sleepenh deb package:
    # sudo apt-get install sleepenh




2018-11-03 - Nicolas Schier <>
sleepenh (1.7-1) unstable; urgency=medium
* Import upstream version 1.7
* Purge obsolete Debian patch
* Update maintainer email address
* Update Vcs-* and remove obsolete Homepage URIs (Closes: #911267),
thanks to Micha Lenk for reporting and repo migration to salsa
* Update Priority from extra to optional
* debian/copyright: update source URI
* debian/copyright: update upstream email address
* Update package description
* debian/copyright: use https scheme for copyright format URI
* debian/rules: enable hardening build flags
* Bump standards version to 4.2.1
* Update debhelper compat level to 11
2016-01-07 - Nicolas Schier <>
sleepenh (1.6-1) unstable; urgency=medium
* New upstream release:
+ Fix variable descriptions and time warp
* Makefile: add EXTRA_CFLAGS (via patch)
* debian/rules: build with debug symbols
2015-11-25 - Nicolas Schier <>
sleepenh (1.5-1) unstable; urgency=medium
* New upstream release:
+ Fix time warp option
+ Add initial package changelog
2015-06-26 - Nicolas Schier <>
sleepenh (1.4-2) unstable; urgency=medium
* Update vcs and homepage URLs (moved to github) (Closes: #789375)
2014-12-01 - Nicolas Schier <>
sleepenh (1.4-1) unstable; urgency=medium
* New upstream release:
+ Makefile: update and allow compile flag changes via command line.
+ Command line options for help and version.
+ Add time warp option.
* Purge obsolete patch makefile--use-debian-compiler-flags.
* Add debian/watch file.
* Update copyright file.
* Remove obsolete buildflags lines from debian/rules.
* Add upstream homepage links to debian/{control,copyright}.
2014-10-28 - Nicolas Schier <>
sleepenh (1.3-2) unstable; urgency=low
* Purge obsolete Debian files
* Use default debian/rules
* Add missing package dependency ${misc:Depends}
* Set source format to '3.0 (quilt)'
* patch: use Debian compiler flags
* Update copyright file
* Update Standards-Version to 3.9.6 (no changes required)
* New maintainer (Closes: #759732)
* Bump debhelper compat level to 9
* Add Vcs-Browser and Vcs-Git URLs
2008-04-20 - Pedro Zorzenon Neto <>
sleepenh (1.3-1) unstable; urgency=low
* New upstream release, nothing important has changed, only FSF address
in copyright, a gcc warnings have been removed and manpage warnings were
2008-04-20 - Pedro Zorzenon Neto <>
sleepenh (1.2-3) unstable; urgency=low
* fixed typos in manpage, thanks to A. Costa. closes: #422939
* decided not to add a symlink to usleep, as asked in bug 223455. The gnu
'sleep' command (provided by package coreutils) accepts floating numbers
as arguments and can be used for doing it. closes: #223455
* updated debian/rules, dh_compat, FSF address in copyright and other
small things.
2006-07-18 - Amaya Rodrigo Sastre <>
sleepenh (1.2-2.1) unstable; urgency=low
* Non-maintainer upload.
* Get rid of the /usr/doc link in postinst (Closes: #359595).
2003-03-10 - Pedro Zorzenon Neto <>
sleepenh (1.2-2) unstable; urgency=low
* Changing package short and long description.
See bug #182331 for more details. Thanks to Ludovic Rousseau.

See Also

Package Description
sleepyhead_1.0.0-beta-2+dfsg-6_i386.deb Sleep tracking software with a focus on monitoring CPAP treatment
slepc-dev_3.10.1+dfsg1-3_all.deb Scalable Library for Eigenvalue Problem Computations
slepc3.10-doc_3.10.1+dfsg1-3_all.deb Scalable Library for Eigenvalue Problem Computations
sleuthkit_4.6.5-1_i386.deb tools for forensics analysis on volume and filesystem data
slib_3b1-5_all.deb Portable Scheme library
slic3r-prusa_1.39.2+dfsg-1+b3_i386.deb G-code generator for 3D printers
slic3r_1.3.0+dfsg1-3+b1_i386.deb G-code generator for 3D printers
slice_1.3.8-14_all.deb Extract out pre-defined slices of an ASCII file
slick-greeter_1.2.4-2_i386.deb Slick-looking LightDM greeter
slides-doc_1.0.1-15_all.deb Python-based Slide Maker -- documentation
slim_1.3.6-5.1_i386.deb desktop-independent graphical login manager for X11
slime_2.23+dfsg-2_all.deb Superior Lisp Interaction Mode for Emacs (client)
slimevolley-data_2.4.2+dfsg-2_all.deb unrealistic 2D volleyball simulation - data files
slimevolley_2.4.2+dfsg-2+b1_i386.deb unrealistic 2D volleyball simulation
slimit_0.8.1-3_all.deb JavaScript minifier/parser in Python